public interface IEvictableLockObject extends ILockObject
Modifier and Type | Method and Description |
---|---|
boolean |
decrementNumOfUsersAndIndicateEmpty()
decrement the number of users using (i.e locking + waiting + finished & not released yet) of
the lock object
|
int |
getNumOfUsers()
get the number of users using (i.e locking + waiting + finished & not released yet) of the
lock object
|
int |
getNumOfUsersAndEmpty()
atomicly get & reset the number of users of the lock object
|
String |
getUID()
get the uid for the object to lock
|
boolean |
incrementNumOfUsersIfNotEmpty()
increment the number of users using (i.e locking + waiting + finished & not released yet) of
the lock object, if the lock object is not empty (zero users)
|
boolean |
isEvictionPermissionIndicator()
true if this object is an eviction indicator.
|
isLockSubject
boolean isEvictionPermissionIndicator()
int getNumOfUsers()
boolean incrementNumOfUsersIfNotEmpty()
boolean decrementNumOfUsersAndIndicateEmpty()
int getNumOfUsersAndEmpty()
String getUID()
Copyright © GigaSpaces.