Class CacheManager.CacheHandle
- java.lang.Object
-
- 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
Fields Modifier and Type Field Description protected StringSetinvalidationKeysprotected ICacheDescription[]objectDescriptionsprotected java.lang.String[]readLocksprotected java.lang.StringtransactionIDprotected java.lang.String[]writeLocks-
Fields inherited from interface org.apache.manifoldcf.core.interfaces.ICacheHandle
_rcsid
-
-
Constructor Summary
Constructors Constructor Description CacheHandle(java.lang.String[] readLocks, java.lang.String[] writeLocks, ICacheDescription[] descriptions, StringSet invalidationKeys, java.lang.String transactionID)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringSetgetInvalidationKeys()Get the invalidation keys.ICacheDescription[]getObjectDescriptions()Get the set of object descriptions.java.lang.String[]getReadLockStrings()Get the read lock strings.java.lang.StringgetTransactionID()Get the transaction ID.java.lang.String[]getWriteLockStrings()Get the write lock strings.
-
-
-
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
-
CacheHandle
public 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:
getReadLockStringsin interfaceICacheHandle- Returns:
- read lock string array.
-
getWriteLockStrings
public java.lang.String[] getWriteLockStrings()
Get the write lock strings.- Specified by:
getWriteLockStringsin interfaceICacheHandle- Returns:
- write lock string array.
-
getObjectDescriptions
public ICacheDescription[] getObjectDescriptions()
Get the set of object descriptions.- Specified by:
getObjectDescriptionsin interfaceICacheHandle- Returns:
- the object descriptions.
-
getInvalidationKeys
public StringSet getInvalidationKeys()
Get the invalidation keys.- Specified by:
getInvalidationKeysin interfaceICacheHandle- Returns:
- the invalidation key set.
-
getTransactionID
public java.lang.String getTransactionID()
Get the transaction ID.- Specified by:
getTransactionIDin interfaceICacheHandle- Returns:
- the transaction ID.
-
-