-
Method Summary
void
void
Returns lock creation datetime
int
Returns lock expiration datetime
void
default boolean
boolean
-
Method Details
-
getTaskURI
Deprecated.
Returns URI of the thing being locked
-
getThingURI
default IURI getThingURI()
- Returns:
- URI of the thing being locked
-
getCreatedDate
Returns lock creation datetime
- Returns:
-
getExpirationDate
Returns lock expiration datetime
-
isExpired
Deprecated.
Calculates if current lock has already expired (based on currentDate - passed in in
case we get current time from DB server)
-
isExpired
default boolean isExpired()
- Returns:
- if current lock has already expired (based on the current time)
-
-
-
getEntryCount
int getEntryCount()
-
getThingURI()