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)
-
Constructor Details
-
Default
public Default()
-
-
Method Details
-
setChannelProcessingEnabled
public final void setChannelProcessingEnabled(boolean enabled)- Specified by:
setChannelProcessingEnabled
in interfaceStorageOperationController
-
isChannelProcessingEnabled
public final boolean isChannelProcessingEnabled()- Specified by:
isChannelProcessingEnabled
in interfaceStorageOperationController
-
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
- Specified by:
checkProcessingEnabled
in interfaceStorageOperationController
- Throws:
StorageExceptionDisruptingExceptions
-
registerDisruption
- Specified by:
registerDisruption
in interfaceStorageOperationController
-
disruptions
- Specified by:
disruptions
in interfaceStorageOperationController
-
hasDisruptions
public final boolean hasDisruptions()- Specified by:
hasDisruptions
in interfaceStorageOperationController
-