public class ConsistentKeyLockStatus extends Object implements LockStatus
ConsistentKeyLocker
and whether the held lock has or has not been checked.
ConsistentKeyLockStore| Constructor and Description |
|---|
ConsistentKeyLockStatus(java.time.Instant written,
java.time.Instant expire) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
java.time.Instant |
getExpirationTimestamp()
Returns the moment at which this lock expires (inclusive).
|
java.time.Instant |
getWriteTimestamp() |
int |
hashCode() |
boolean |
isChecked() |
void |
setChecked() |
public ConsistentKeyLockStatus(java.time.Instant written,
java.time.Instant expire)
public java.time.Instant getExpirationTimestamp()
LockStatusgetExpirationTimestamp in interface LockStatuspublic java.time.Instant getWriteTimestamp()
public boolean isChecked()
public void setChecked()
Copyright © 2012–2015. All rights reserved.