public interface IClusterLock
Modifier and Type | Method and Description |
---|---|
void |
decEntry() |
Date |
getCreatedDate()
Returns lock creation datetime
|
int |
getEntryCount() |
Date |
getExpirationDate()
Returns lock expiration datetime
|
IURI |
getTaskURI()
Returns URI of the task being locked
|
void |
incEntry() |
boolean |
isExpired(Date currentDate)
Calculates if current lock has already expired (based on currentDate - passed in in case we get current time from DB server)
|
IURI getTaskURI()
Date getCreatedDate()
Date getExpirationDate()
boolean isExpired(Date currentDate)
void incEntry()
void decEntry()
int getEntryCount()