Package one.microstream.storage.types
Interface StorageOperationController
-
- All Known Implementing Classes:
StorageOperationController.Default
public interface StorageOperationController
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceStorageOperationController.Creatorstatic classStorageOperationController.Default
-
Method Summary
Modifier and Type Method Description voidactivate()StorageChannelCountProviderchannelCountProvider()booleancheckProcessingEnabled()voiddeactivate()XGettingSequence<Throwable>disruptions()default booleanhasDisruptions()booleanisChannelProcessingEnabled()static StorageOperationControllerNew(StorageSystem storageSystem, StorageChannelCountProvider channelCountProvider)static StorageOperationController.CreatorProvider()voidregisterDisruption(Throwable disruption)voidsetChannelProcessingEnabled(boolean enabled)
-
-
-
Method Detail
-
channelCountProvider
StorageChannelCountProvider channelCountProvider()
-
isChannelProcessingEnabled
boolean isChannelProcessingEnabled()
-
checkProcessingEnabled
boolean checkProcessingEnabled() throws StorageExceptionDisruptingExceptions
-
registerDisruption
void registerDisruption(Throwable disruption)
-
disruptions
XGettingSequence<Throwable> disruptions()
-
hasDisruptions
default boolean hasDisruptions()
-
setChannelProcessingEnabled
void setChannelProcessingEnabled(boolean enabled)
-
activate
void activate()
-
deactivate
void deactivate()
-
New
static StorageOperationController New(StorageSystem storageSystem, StorageChannelCountProvider channelCountProvider)
-
Provider
static StorageOperationController.Creator Provider()
-
-