public abstract class AbstractIracLocalSiteInterceptor extends DDAsyncInterceptor
DDAsyncInterceptor
with common code for all the IRAC related interceptors.cacheConfiguration
Constructor and Description |
---|
AbstractIracLocalSiteInterceptor() |
Modifier and Type | Method and Description |
---|---|
protected LocalizedCacheTopology |
getCacheTopology() |
protected DistributionInfo |
getDistributionInfo(int segment) |
protected DistributionInfo |
getDistributionInfo(Object key) |
protected Ownership |
getOwnership(int segment) |
protected Ownership |
getOwnership(Object key) |
protected int |
getSegment(WriteCommand command,
Object key) |
protected static boolean |
isIracState(FlagAffectedCommand command) |
protected static boolean |
isNormalWriteCommand(WriteCommand command) |
protected boolean |
isPrimaryOwner(org.infinispan.interceptors.impl.AbstractIracLocalSiteInterceptor.StreamData data) |
protected boolean |
isWriteOwner(org.infinispan.interceptors.impl.AbstractIracLocalSiteInterceptor.StreamData data) |
protected void |
setIracMetadata(CacheEntry<?,?> entry,
IracMetadata metadata) |
protected void |
setMetadataToCacheEntry(CacheEntry<?,?> entry,
IracMetadata metadata) |
protected Stream<org.infinispan.interceptors.impl.AbstractIracLocalSiteInterceptor.StreamData> |
streamKeysFromCommand(WriteCommand command) |
protected Stream<org.infinispan.interceptors.impl.AbstractIracLocalSiteInterceptor.StreamData> |
streamKeysFromModifications(Stream<WriteCommand> modsStream) |
protected Stream<org.infinispan.interceptors.impl.AbstractIracLocalSiteInterceptor.StreamData> |
streamKeysFromModifications(WriteCommand[] mods) |
handleDefault, visitClearCommand, visitCommand, visitCommitCommand, visitComputeCommand, visitComputeIfAbsentCommand, visitEntrySetCommand, visitEvictCommand, visitGetAllCommand, visitGetCacheEntryCommand, visitGetKeysInGroupCommand, visitGetKeyValueCommand, visitInvalidateCommand, visitInvalidateL1Command, visitKeySetCommand, visitLockControlCommand, visitPrepareCommand, visitPutKeyValueCommand, visitPutMapCommand, visitReadOnlyKeyCommand, visitReadOnlyManyCommand, visitReadWriteKeyCommand, visitReadWriteKeyValueCommand, visitReadWriteManyCommand, visitReadWriteManyEntriesCommand, visitRemoveCommand, visitReplaceCommand, visitRollbackCommand, visitSizeCommand, visitUnknownCommand, visitWriteOnlyKeyCommand, visitWriteOnlyKeyValueCommand, visitWriteOnlyManyCommand, visitWriteOnlyManyEntriesCommand
asyncInvokeNext, asyncInvokeNext, asyncInvokeNext, asyncValue, delayedNull, delayedValue, delayedValue, invokeNext, invokeNextAndExceptionally, invokeNextAndFinally, invokeNextAndHandle, invokeNextThenAccept, invokeNextThenApply, isSuccessfullyDone, makeStage, setNextInterceptor, valueOrException
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
visitRemoveExpiredCommand
protected static boolean isNormalWriteCommand(WriteCommand command)
protected static boolean isIracState(FlagAffectedCommand command)
protected Ownership getOwnership(int segment)
protected DistributionInfo getDistributionInfo(int segment)
protected DistributionInfo getDistributionInfo(Object key)
protected boolean isWriteOwner(org.infinispan.interceptors.impl.AbstractIracLocalSiteInterceptor.StreamData data)
protected boolean isPrimaryOwner(org.infinispan.interceptors.impl.AbstractIracLocalSiteInterceptor.StreamData data)
protected LocalizedCacheTopology getCacheTopology()
protected int getSegment(WriteCommand command, Object key)
protected void setMetadataToCacheEntry(CacheEntry<?,?> entry, IracMetadata metadata)
protected final void setIracMetadata(CacheEntry<?,?> entry, IracMetadata metadata)
protected Stream<org.infinispan.interceptors.impl.AbstractIracLocalSiteInterceptor.StreamData> streamKeysFromModifications(WriteCommand[] mods)
protected Stream<org.infinispan.interceptors.impl.AbstractIracLocalSiteInterceptor.StreamData> streamKeysFromModifications(Stream<WriteCommand> modsStream)
protected Stream<org.infinispan.interceptors.impl.AbstractIracLocalSiteInterceptor.StreamData> streamKeysFromCommand(WriteCommand command)
Copyright © 2021 JBoss by Red Hat. All rights reserved.