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