Package org.infinispan.scattered.impl
Class ScatteredPartitionHandlingManagerImpl
java.lang.Object
org.infinispan.partitionhandling.impl.PartitionHandlingManagerImpl
org.infinispan.scattered.impl.ScatteredPartitionHandlingManagerImpl
- All Implemented Interfaces:
PartitionHandlingManager
-
Field Summary
Fields inherited from class org.infinispan.partitionhandling.impl.PartitionHandlingManagerImpl
distributionManager -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidprotected booleanisKeyOperationAllowed(boolean isWrite, long flagBitSet, LocalizedCacheTopology cacheTopology, Object key) Check if a read/write operation is allowed with the actual membersMethods inherited from class org.infinispan.partitionhandling.impl.PartitionHandlingManagerImpl
addPartialCommit1PCTransaction, addPartialCommit2PCTransaction, addPartialRollbackTransaction, canRollbackTransactionAfterOriginatorLeave, checkBulkRead, checkClear, checkRead, checkWrite, getAvailabilityMode, getLastStableTopology, getPartialTransactions, getPartitionHandling, isTransactionPartiallyCommitted, onTopologyUpdate, setAvailabilityMode
-
Constructor Details
-
ScatteredPartitionHandlingManagerImpl
-
-
Method Details
-
doCheck
- Overrides:
doCheckin classPartitionHandlingManagerImpl
-
isKeyOperationAllowed
protected boolean isKeyOperationAllowed(boolean isWrite, long flagBitSet, LocalizedCacheTopology cacheTopology, Object key) Description copied from class:PartitionHandlingManagerImplCheck if a read/write operation is allowed with the actual members- Overrides:
isKeyOperationAllowedin classPartitionHandlingManagerImpl- Parameters:
isWrite-falsefor reads,truefor writesflagBitSet- reads with theFlag.FORCE_WRITE_LOCKare treated as writescacheTopology- actual members, ornullfor bulk operationskey- key owners, ornullfor bulk operations- Returns:
trueif the operation is allowed,falseotherwise.
-