Class ReadWriteLockResource

java.lang.Object
com.j_spaces.kernel.pool.Resource
com.j_spaces.core.transaction.ReadWriteLockResource
All Implemented Interfaces:
IResource

public class ReadWriteLockResource extends Resource
Since:
6.0
Author:
anna
  • Constructor Details

    • ReadWriteLockResource

      public ReadWriteLockResource()
  • Method Details

    • clear

      public void clear()
      Description copied from interface: IResource
      Cleans 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.

      Specified by:
      clear in interface IResource
      Specified by:
      clear in class Resource
      See Also:
    • getLock

      public ReadWriteLock getLock()