Class PassivationWriterInterceptor
java.lang.Object
org.infinispan.interceptors.BaseAsyncInterceptor
org.infinispan.interceptors.DDAsyncInterceptor
org.infinispan.interceptors.impl.JmxStatsCommandInterceptor
org.infinispan.interceptors.impl.CacheWriterInterceptor
org.infinispan.interceptors.impl.PassivationWriterInterceptor
- All Implemented Interfaces:
Visitor, AsyncInterceptor, JmxStatisticsExposer
Passivation writer ignores any create/modify operations and only does removals. The writes are done via eviction
or shutdown only.
- Since:
- 15.0
- Author:
- William Burns
-
Field Summary
Fields inherited from class CacheWriterInterceptor
handlePutMapCommandReturn, persistenceManagerFields inherited from class BaseAsyncInterceptor
cacheConfiguration -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ObjecthandlePutMapCommandReturn(InvocationContext rCtx, PutMapCommand putMapCommand, Object rv) protected InvocationStageMethods inherited from class CacheWriterInterceptor
commitModifications, getLog, getWritesToTheStores, isProperWriter, isStoreEnabled, resetStatistics, skipSharedStores, start, visitClearCommand, visitCommitCommand, visitComputeCommand, visitComputeIfAbsentCommand, visitIracPutKeyValueCommand, visitPrepareCommand, visitPutKeyValueCommand, visitPutMapCommand, visitReadWriteKeyCommand, visitReadWriteKeyValueCommand, visitReadWriteManyCommand, visitReadWriteManyEntriesCommand, visitRemoveCommand, visitReplaceCommand, visitWriteOnlyKeyCommand, visitWriteOnlyKeyValueCommand, visitWriteOnlyManyCommand, visitWriteOnlyManyEntriesCommandMethods inherited from class JmxStatsCommandInterceptor
getStatisticsEnabled, onStart, setStatisticsEnabledMethods inherited from class DDAsyncInterceptor
handleDefault, visitCommand, visitEntrySetCommand, visitEvictCommand, visitGetAllCommand, visitGetCacheEntryCommand, visitGetKeyValueCommand, visitInvalidateCommand, visitInvalidateL1Command, visitKeySetCommand, visitLockControlCommand, visitReadOnlyKeyCommand, visitReadOnlyManyCommand, visitRollbackCommand, visitSizeCommand, visitTouchCommandMethods inherited from class BaseAsyncInterceptor
asyncInvokeNext, asyncInvokeNext, asyncInvokeNext, asyncValue, delayedNull, delayedValue, delayedValue, invokeNext, invokeNextAndExceptionally, invokeNextAndFinally, invokeNextAndHandle, invokeNextThenAccept, invokeNextThenApply, isSuccessfullyDone, makeStage, setNextInterceptor, valueOrExceptionMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Visitor
visitRemoveExpiredCommand
-
Constructor Details
-
PassivationWriterInterceptor
public PassivationWriterInterceptor()
-
-
Method Details
-
handlePutMapCommandReturn
protected Object handlePutMapCommandReturn(InvocationContext rCtx, PutMapCommand putMapCommand, Object rv) - Overrides:
handlePutMapCommandReturnin classCacheWriterInterceptor
-
store
- Overrides:
storein classCacheWriterInterceptor- Throws:
Throwable
-