Class 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 Detail

      • readLocks

        protected java.lang.String[] readLocks
      • writeLocks

        protected java.lang.String[] writeLocks
      • 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:
        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.
      • getTransactionID

        public java.lang.String getTransactionID()
        Get the transaction ID.
        Specified by:
        getTransactionID in interface ICacheHandle
        Returns:
        the transaction ID.