| Constructor and Description | 
|---|
| ReadWriteLockResource() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | clear()Cleans the resource of its contents so it can be returned to the pool. | 
| ReadWriteLock | getLock() | 
acquire, isAcquired, isFromPool, release, setAcquired, setFromPoolpublic void clear()
IResource You may use the
 IResource.isFromPool() indication to decide of a special action before returning a resource to
 the pool, or discard any actions on resources not returning to the pool.
clear in interface IResourceclear in class ResourceIResource.release()public ReadWriteLock getLock()
Copyright © GigaSpaces.