protected static class OverflowMap.ExpirableStatus extends OverflowMap.Status
STATE_MASK_BACK, STATE_MASK_EXISTS, STATE_MASK_FRONT, STATE_MASK_INSYNC, STATE_MASK_RETAIN, STATE_MASK_STATUS, STATUS_AVAILABLE, STATUS_COMMITTING, STATUS_INVALIDATED, STATUS_PROCESSING
Constructor | Description |
---|---|
ExpirableStatus() |
Construct a Status object for a specific key.
|
Modifier and Type | Method | Description |
---|---|---|
String |
getDescription() |
Assemble a human-readable description.
|
long |
getExpiry() |
Determine the expiry for the entry represented by this Status.
|
boolean |
hasExpiry() |
Determine if this Status represents an entry that will
automatically expire.
|
boolean |
isExpired() |
Determine if this Status represents an entry that will
automatically expire.
|
void |
setExpiry(long ldtExpires) |
Specify the expiry for the entry represented by this Status.
|
closeProcessing, commitAndMaybeInvalidate, extractFlag, extractState, getBackEvent, getFrontEvent, getOwnerThread, getState, getStatus, hasEvent, isAvailable, isBackUpToDate, isCommitting, isDiscardable, isEntryExistent, isEntryInBack, isEntryInFront, isOwnedByCurrentThread, isProcessing, isValid, registerBackEvent, registerFrontEvent, setBackEvent, setBackUpToDate, setEntryInBack, setEntryInFront, setFrontEvent, setOwnerThread, setState, setStatus, takeBackEvent, takeEvent, takeFrontEvent, toString, updateFlag, updateState, waitForAvailable
public ExpirableStatus()
public long getExpiry()
getExpiry
in class OverflowMap.Status
public void setExpiry(long ldtExpires)
setExpiry
in class OverflowMap.Status
ldtExpires
- the expiry, or 0L if the entry should not expirepublic boolean hasExpiry()
hasExpiry
in class OverflowMap.Status
public boolean isExpired()
isExpired
in class OverflowMap.Status
public String getDescription()
getDescription
in class OverflowMap.Status