public interface IBasicLockManager<T extends ILockedSubject>
Modifier and Type | Method and Description |
---|---|
void |
freeLockObject(ILockObject lockObject)
free the lock object - no more needed by this thread
|
ILockObject |
getLockObject(String subjectUid)
based only on subject's uid, return a lock object in order to lock the represented subject
this method is relevant only for evictable objects
|
ILockObject |
getLockObject(T subject)
based on subject, return a lock object in order to lock the represented subject.
|
boolean |
isEntryLocksItsSelf(T entry)
true if the lock object is the subject itself (i.e.
|
ILockObject getLockObject(T subject)
ILockObject getLockObject(String subjectUid)
void freeLockObject(ILockObject lockObject)
lockObject
- the lock objectboolean isEntryLocksItsSelf(T entry)
Copyright © GigaSpaces.