org.apache.manifoldcf.core.cachemanager
Class CacheManager.CacheHandle

java.lang.Object
  extended by org.apache.manifoldcf.core.cachemanager.CacheManager.CacheHandle
All Implemented Interfaces:
ICacheHandle
Enclosing class:
CacheManager

protected class CacheManager.CacheHandle
extends java.lang.Object
implements ICacheHandle

This is the local implementation of ICacheHandle.


Field Summary
protected  StringSet invalidationKeys
           
protected  ICacheDescription[] objectDescriptions
           
protected  java.lang.String[] readLocks
           
protected  java.lang.String transactionID
           
protected  java.lang.String[] writeLocks
           
 
Fields inherited from interface org.apache.manifoldcf.core.interfaces.ICacheHandle
_rcsid
 
Constructor Summary
CacheManager.CacheHandle(java.lang.String[] readLocks, java.lang.String[] writeLocks, ICacheDescription[] descriptions, StringSet invalidationKeys, java.lang.String transactionID)
           
 
Method Summary
 StringSet getInvalidationKeys()
          Get the invalidation keys.
 ICacheDescription[] getObjectDescriptions()
          Get the set of object descriptions.
 java.lang.String[] getReadLockStrings()
          Get the read lock strings.
 java.lang.String getTransactionID()
          Get the transaction ID.
 java.lang.String[] getWriteLockStrings()
          Get the write lock strings.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

readLocks

protected java.lang.String[] readLocks

writeLocks

protected java.lang.String[] writeLocks

objectDescriptions

protected ICacheDescription[] objectDescriptions

invalidationKeys

protected StringSet invalidationKeys

transactionID

protected java.lang.String transactionID
Constructor Detail

CacheManager.CacheHandle

public CacheManager.CacheHandle(java.lang.String[] readLocks,
                                java.lang.String[] writeLocks,
                                ICacheDescription[] descriptions,
                                StringSet invalidationKeys,
                                java.lang.String transactionID)
Method Detail

getReadLockStrings

public java.lang.String[] getReadLockStrings()
Get the read lock strings.

Specified by:
getReadLockStrings in interface ICacheHandle
Returns:
read lock string array.

getWriteLockStrings

public java.lang.String[] getWriteLockStrings()
Get the write lock strings.

Specified by:
getWriteLockStrings in interface ICacheHandle
Returns:
write lock string array.

getObjectDescriptions

public ICacheDescription[] getObjectDescriptions()
Get the set of object descriptions.

Specified by:
getObjectDescriptions in interface ICacheHandle
Returns:
the object descriptions.

getInvalidationKeys

public StringSet getInvalidationKeys()
Get the invalidation keys.

Specified by:
getInvalidationKeys in interface ICacheHandle
Returns:
the invalidation key set.

getTransactionID

public java.lang.String getTransactionID()
Get the transaction ID.

Specified by:
getTransactionID in interface ICacheHandle
Returns:
the transaction ID.