Package one.microstream.storage.types
Class StorageOperationController.Default
- java.lang.Object
-
- one.microstream.storage.types.StorageOperationController.Default
-
- All Implemented Interfaces:
StorageOperationController
- Enclosing interface:
- StorageOperationController
public static final class StorageOperationController.Default extends Object implements StorageOperationController
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface one.microstream.storage.types.StorageOperationController
StorageOperationController.Creator, StorageOperationController.Default
-
-
Constructor Summary
Constructors Constructor Description Default()
-
Method Summary
Modifier and Type Method Description void
activate()
StorageChannelCountProvider
channelCountProvider()
boolean
checkProcessingEnabled()
void
deactivate()
XGettingSequence<Throwable>
disruptions()
boolean
hasDisruptions()
boolean
isChannelProcessingEnabled()
void
registerDisruption(Throwable disruption)
void
setChannelProcessingEnabled(boolean enabled)
-
-
-
Method Detail
-
setChannelProcessingEnabled
public final void setChannelProcessingEnabled(boolean enabled)
- Specified by:
setChannelProcessingEnabled
in interfaceStorageOperationController
-
isChannelProcessingEnabled
public final boolean isChannelProcessingEnabled()
- Specified by:
isChannelProcessingEnabled
in interfaceStorageOperationController
-
channelCountProvider
public final StorageChannelCountProvider channelCountProvider()
- Specified by:
channelCountProvider
in interfaceStorageOperationController
-
activate
public final void activate()
- Specified by:
activate
in interfaceStorageOperationController
-
deactivate
public final void deactivate()
- Specified by:
deactivate
in interfaceStorageOperationController
-
checkProcessingEnabled
public final boolean checkProcessingEnabled() throws StorageExceptionDisruptingExceptions
- Specified by:
checkProcessingEnabled
in interfaceStorageOperationController
- Throws:
StorageExceptionDisruptingExceptions
-
registerDisruption
public final void registerDisruption(Throwable disruption)
- Specified by:
registerDisruption
in interfaceStorageOperationController
-
disruptions
public final XGettingSequence<Throwable> disruptions()
- Specified by:
disruptions
in interfaceStorageOperationController
-
hasDisruptions
public final boolean hasDisruptions()
- Specified by:
hasDisruptions
in interfaceStorageOperationController
-
-