public interface IClusterLock extends AutoCloseable
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
decEntry() |
Date |
getCreatedDate()
Returns lock creation datetime
|
int |
getEntryCount() |
Date |
getExpirationDate()
Returns lock expiration datetime
|
IURI |
getTaskURI()
Deprecated.
Use
getThingURI() |
default IURI |
getThingURI() |
void |
incEntry() |
default boolean |
isExpired() |
boolean |
isExpired(Date currentDate)
Deprecated.
Use
isExpired() |
@Deprecated IURI getTaskURI()
getThingURI()
default IURI getThingURI()
Date getCreatedDate()
Date getExpirationDate()
@Deprecated boolean isExpired(Date currentDate)
isExpired()
default boolean isExpired()
void incEntry()
void decEntry()
int getEntryCount()
void close()
close
in interface AutoCloseable