Package com.j_spaces.core.transaction
Class ReadWriteLockResource
java.lang.Object
com.j_spaces.kernel.pool.Resource
com.j_spaces.core.transaction.ReadWriteLockResource
- All Implemented Interfaces:
IResource
- Since:
- 6.0
- Author:
- anna
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.j_spaces.kernel.pool.Resource
acquire, isAcquired, isFromPool, release, setAcquired, setFromPool
-
Constructor Details
-
ReadWriteLockResource
public ReadWriteLockResource()
-
-
Method Details
-
clear
public void clear()Description copied from interface:IResourceCleans the resource of its contents so it can be returned to the pool.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. -
getLock
-