public class ReentrantSimpleLock extends Object implements ISimpleLock
ISimpleLock The implementation intent is to save memory,
therefore the synchronization is done on the lock object it self, no user should synchronize on
the lock object it self as it may create deadlocks.| Constructor and Description |
|---|
ReentrantSimpleLock() |
public boolean tryLock()
tryLock in interface ISimpleLockpublic void lock()
lock in interface ISimpleLockpublic void unlock()
unlock in interface ISimpleLockCopyright © GigaSpaces.