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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
protected boolean
isKeyOperationAllowed
(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:
doCheck
in classPartitionHandlingManagerImpl
-
isKeyOperationAllowed
protected boolean isKeyOperationAllowed(boolean isWrite, long flagBitSet, LocalizedCacheTopology cacheTopology, Object key) Description copied from class:PartitionHandlingManagerImpl
Check if a read/write operation is allowed with the actual members- Overrides:
isKeyOperationAllowed
in classPartitionHandlingManagerImpl
- Parameters:
isWrite
-false
for reads,true
for writesflagBitSet
- reads with theFlag.FORCE_WRITE_LOCK
are treated as writescacheTopology
- actual members, ornull
for bulk operationskey
- key owners, ornull
for bulk operations- Returns:
true
if the operation is allowed,false
otherwise.
-