org.apache.zookeeper.server
public class Request extends Object
Modifier and Type | Field and Description |
---|---|
List<Id> |
authInfo |
ServerCnxn |
cnxn |
long |
createTime |
int |
cxid |
TxnHeader |
hdr |
ByteBuffer |
request |
static Request |
requestOfDeath |
long |
sessionId |
org.apache.jute.Record |
txn |
int |
type |
long |
zxid |
Constructor and Description |
---|
Request(ServerCnxn cnxn,
long sessionId,
int xid,
int type,
ByteBuffer bb,
List<Id> authInfo) |
Modifier and Type | Method and Description |
---|---|
KeeperException |
getException() |
Object |
getOwner() |
void |
setException(KeeperException e) |
void |
setOwner(Object owner) |
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 TxnHeader hdr
public org.apache.jute.Record txn
public long zxid
public final long createTime
public Request(ServerCnxn cnxn, long sessionId, int xid, int type, ByteBuffer bb, List<Id> authInfo)
cnxn
- sessionId
- xid
- type
- bb
- public Object getOwner()
public void setOwner(Object owner)
public void setException(KeeperException e)
public KeeperException getException()
Copyright © 2014 The Apache Software Foundation