public class Request extends Object
Modifier and Type | Field and Description |
---|---|
List<Id> |
authInfo |
ServerCnxn |
cnxn |
long |
createTime |
int |
cxid |
QuorumVerifier |
qv |
ByteBuffer |
request |
static Request |
requestOfDeath |
long |
sessionId |
int |
type |
long |
zxid |
Constructor and Description |
---|
Request(long sessionId,
int xid,
int type,
TxnHeader hdr,
Record txn,
long zxid) |
Request(ServerCnxn cnxn,
long sessionId,
int xid,
int type,
ByteBuffer bb,
List<Id> authInfo) |
Modifier and Type | Method and Description |
---|---|
KeeperException |
getException() |
TxnHeader |
getHdr() |
Object |
getOwner() |
Record |
getTxn() |
boolean |
isLocalSession() |
boolean |
isQuorum() |
void |
setException(KeeperException e) |
void |
setHdr(TxnHeader hdr) |
void |
setLocalSession(boolean isLocalSession) |
void |
setOwner(Object owner) |
void |
setTxn(Record txn) |
String |
toString() |
public static final Request requestOfDeath
public final long sessionId
public final int cxid
public final int type
public final ByteBuffer request
public final ServerCnxn cnxn
public long zxid
public final long createTime
public QuorumVerifier qv
public Request(ServerCnxn cnxn, long sessionId, int xid, int type, ByteBuffer bb, List<Id> authInfo)
public boolean isLocalSession()
public void setLocalSession(boolean isLocalSession)
public Object getOwner()
public void setOwner(Object owner)
public TxnHeader getHdr()
public void setHdr(TxnHeader hdr)
public Record getTxn()
public void setTxn(Record txn)
public boolean isQuorum()
public void setException(KeeperException e)
public KeeperException getException()
Copyright © 2008–2020 The Apache Software Foundation. All rights reserved.