private static class ServerNonceManager.OperationContext extends Object
Modifier and Type | Field and Description |
---|---|
private static long |
ALL_FLAG_BITS |
private long |
data |
(package private) static int |
DONT_PROCEED |
private long |
mvcc |
(package private) static int |
PROCEED |
private static long |
STATE_BITS |
(package private) static int |
WAIT |
private static long |
WAITING_BIT |
Constructor and Description |
---|
OperationContext() |
Modifier and Type | Method and Description |
---|---|
private long |
getActivityTime() |
long |
getMvcc() |
int |
getState() |
boolean |
hasWait() |
boolean |
isExpired(long minRelevantTime) |
void |
reportActivity() |
void |
setHasWait() |
void |
setMvcc(long mvcc) |
void |
setState(int state) |
String |
toString() |
static final int DONT_PROCEED
static final int PROCEED
static final int WAIT
private long data
private static final long STATE_BITS
private static final long WAITING_BIT
private static final long ALL_FLAG_BITS
private volatile long mvcc
public OperationContext()
public void setState(int state)
public int getState()
public void setHasWait()
public boolean hasWait()
public void reportActivity()
public boolean isExpired(long minRelevantTime)
public void setMvcc(long mvcc)
public long getMvcc()
private long getActivityTime()
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.