Package org.infinispan.hibernate.cache.commons.access
Internal Infinispan-based implementation of the cache region access strategies
-
Interface Summary Interface Description AccessDelegate Defines the strategy for access to entity or collection data in a Infinispan instance.SessionAccess SessionAccess.TransactionCoordinatorAccess -
Class Summary Class Description BaseInvalidationInterceptor FutureUpdateSynchronization InvalidationCacheAccessDelegate InvalidationSynchronization Synchronization that should release the locks after invalidation is complete.LocalInvalidationSynchronization LockingInterceptor With regularNonTransactionalLockingInterceptor
, async replication does not work in combination with synchronous replication: sync replication relies on locking to order writes on backup while async replication relies on FIFO-ordering from primary to backup.NonStrictAccessDelegate Access delegate that relaxes the consistency a bit: stale reads are prohibited only after the transaction commits.NonTxInvalidationCacheAccessDelegate Delegate for non-transactional cachesNonTxInvalidationInterceptor This interceptor should completely replace default InvalidationInterceptor.NonTxPutFromLoadInterceptor Non-transactional counterpart ofTxPutFromLoadInterceptor
.PutFromLoadValidator Encapsulates logic to allow aInvalidationCacheAccessDelegate
to determine whether aInvalidationCacheAccessDelegate.putFromLoad(Object, Object, Object, long, Object, boolean)
call should be allowed to update the cache.PutFromLoadValidator.Lock Marker for lock acquired inPutFromLoadValidator.acquirePutFromLoadLock(Object, Object, long)
RemovalSynchronization TombstoneAccessDelegate TxInvalidationCacheAccessDelegate Delegate for transactional cachesTxInvalidationInterceptor This interceptor acts as a replacement to the replication interceptor when the CacheImpl is configured with ClusteredSyncMode as INVALIDATE.TxInvalidationInterceptor.InvalidationFilterVisitor UnorderedDistributionInterceptor Since the applied functions do not rely on the order how these are applied (the updates are commutative), this interceptor simply sends any command to all other owners without ordering them through primary owner.UnorderedReplicationLogic