Class Request

  • Direct Known Subclasses:
    LearnerSyncRequest

    public class Request
    extends java.lang.Object
    This is the structure that represents a request moving through a chain of RequestProcessors. There are various pieces of information that is tacked onto the request as it is processed.
    • Field Detail

      • requestOfDeath

        public static final Request requestOfDeath
      • sessionId

        public final long sessionId
      • cxid

        public final int cxid
      • type

        public final int type
      • request

        public final java.nio.ByteBuffer request
      • txn

        public org.apache.jute.Record txn
      • zxid

        public long zxid
      • authInfo

        public final java.util.List<Id> authInfo
      • createTime

        public final long createTime
    • Constructor Detail

      • Request

        public Request​(ServerCnxn cnxn,
                       long sessionId,
                       int xid,
                       int type,
                       java.nio.ByteBuffer bb,
                       java.util.List<Id> authInfo)
        Parameters:
        cnxn -
        sessionId -
        xid -
        type -
        bb -
      • Request

        public Request​(long sessionId,
                       int xid,
                       int type,
                       TxnHeader hdr,
                       org.apache.jute.Record txn,
                       long zxid)
    • Method Detail

      • getOwner

        public java.lang.Object getOwner()
      • setOwner

        public void setOwner​(java.lang.Object owner)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object