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 and Description |
|---|
ExpirableStatus()
Construct a Status object for a specific key.
|
| Modifier and Type | Method and 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, waitForAvailablepublic ExpirableStatus()
public long getExpiry()
getExpiry in class OverflowMap.Statuspublic void setExpiry(long ldtExpires)
setExpiry in class OverflowMap.StatusldtExpires - the expiry, or 0L if the entry should not expirepublic boolean hasExpiry()
hasExpiry in class OverflowMap.Statuspublic boolean isExpired()
isExpired in class OverflowMap.Statuspublic String getDescription()
getDescription in class OverflowMap.Status