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 | 
| ILockObject | getLockObject(T subject,
             boolean isEvictable)based on subject, return a lock object in order to lock the subject | 
| boolean | isPerLogicalSubjectLockObject(boolean isEvictable)do we use per-logical subject a different object for locking ? | 
ILockObject getLockObject(T subject)
ILockObject getLockObject(T subject, boolean isEvictable)
isEvictable - = true if the subject is part of evictable cache (like lru)ILockObject getLockObject(String subjectUid)
void freeLockObject(ILockObject lockObject)
lockObject - the lock objectboolean isPerLogicalSubjectLockObject(boolean isEvictable)
isEvictable - - is subject evictableCopyright © GigaSpaces.