Class StorageFoundation.Default<F extends StorageFoundation.Default<?>>
- java.lang.Object
-
- one.microstream.util.InstanceDispatcher.Default
-
- one.microstream.storage.types.StorageFoundation.Default<F>
-
- All Implemented Interfaces:
Unpersistable
,StorageFoundation<F>
,InstanceDispatcher
- Direct Known Subclasses:
EmbeddedStorageFoundation.Default
- Enclosing interface:
- StorageFoundation<F extends StorageFoundation<?>>
public static class StorageFoundation.Default<F extends StorageFoundation.Default<?>> extends InstanceDispatcher.Default implements StorageFoundation<F>, Unpersistable
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface one.microstream.util.InstanceDispatcher
InstanceDispatcher.Default
-
Nested classes/interfaces inherited from interface one.microstream.storage.types.StorageFoundation
StorageFoundation.Default<F extends StorageFoundation.Default<?>>
-
-
Constructor Summary
Constructors Constructor Description Default()
-
Method Summary
-
Methods inherited from class one.microstream.util.InstanceDispatcher.Default
getInstanceDispatcherLogic, setInstanceDispatcherLogic
-
-
-
-
Method Detail
-
getOperationControllerCreator
public StorageOperationController.Creator getOperationControllerCreator()
Description copied from interface:StorageFoundation
Returns the currently setStorageOperationController.Creator
instance.If no instance is set and the implementation deems an instance of this type mandatory for the successful executon of
StorageFoundation.createStorageManager()
, a suitable instance is created via an internal default creation logic and then set as the current. If the implementation has not sufficient logic and/or data to create a default instance, aMissingFoundationPartException
is thrown.- Specified by:
getOperationControllerCreator
in interfaceStorageFoundation<F extends StorageFoundation.Default<?>>
- Returns:
- the currently set instance, potentially created on-demand if required.
-
getInitialDataFileNumberProvider
public StorageInitialDataFileNumberProvider getInitialDataFileNumberProvider()
Description copied from interface:StorageFoundation
Returns the currently setStorageInitialDataFileNumberProvider
instance.If no instance is set and the implementation deems an instance of this type mandatory for the successful executon of
StorageFoundation.createStorageManager()
, a suitable instance is created via an internal default creation logic and then set as the current. If the implementation has not sufficient logic and/or data to create a default instance, aMissingFoundationPartException
is thrown.- Specified by:
getInitialDataFileNumberProvider
in interfaceStorageFoundation<F extends StorageFoundation.Default<?>>
- Returns:
- the currently set instance, potentially created on-demand if required.
-
getRequestAcceptorCreator
public StorageRequestAcceptor.Creator getRequestAcceptorCreator()
Description copied from interface:StorageFoundation
Returns the currently setStorageRequestAcceptor.Creator
instance.If no instance is set and the implementation deems an instance of this type mandatory for the successful executon of
StorageFoundation.createStorageManager()
, a suitable instance is created via an internal default creation logic and then set as the current. If the implementation has not sufficient logic and/or data to create a default instance, aMissingFoundationPartException
is thrown.- Specified by:
getRequestAcceptorCreator
in interfaceStorageFoundation<F extends StorageFoundation.Default<?>>
- Returns:
- the currently set instance, potentially created on-demand if required.
-
getTaskBrokerCreator
public StorageTaskBroker.Creator getTaskBrokerCreator()
Description copied from interface:StorageFoundation
Returns the currently setStorageTaskBroker.Creator
instance.If no instance is set and the implementation deems an instance of this type mandatory for the successful executon of
StorageFoundation.createStorageManager()
, a suitable instance is created via an internal default creation logic and then set as the current. If the implementation has not sufficient logic and/or data to create a default instance, aMissingFoundationPartException
is thrown.- Specified by:
getTaskBrokerCreator
in interfaceStorageFoundation<F extends StorageFoundation.Default<?>>
- Returns:
- the currently set instance, potentially created on-demand if required.
-
getDataChunkValidatorProvider
public StorageDataChunkValidator.Provider getDataChunkValidatorProvider()
Description copied from interface:StorageFoundation
Returns the currently setStorageDataChunkValidator.Provider
instance.If no instance is set and the implementation deems an instance of this type mandatory for the successful executon of
StorageFoundation.createStorageManager()
, a suitable instance is created via an internal default creation logic and then set as the current. If the implementation has not sufficient logic and/or data to create a default instance, aMissingFoundationPartException
is thrown.- Specified by:
getDataChunkValidatorProvider
in interfaceStorageFoundation<F extends StorageFoundation.Default<?>>
- Returns:
- the currently set instance, potentially created on-demand if required.
-
getDataChunkValidatorProvider2
public StorageDataChunkValidator.Provider2 getDataChunkValidatorProvider2()
Description copied from interface:StorageFoundation
Returns the currently setStorageDataChunkValidator.Provider2
instance.If no instance is set and the implementation deems an instance of this type mandatory for the successful executon of
StorageFoundation.createStorageManager()
, a suitable instance is created via an internal default creation logic and then set as the current. If the implementation has not sufficient logic and/or data to create a default instance, aMissingFoundationPartException
is thrown.- Specified by:
getDataChunkValidatorProvider2
in interfaceStorageFoundation<F extends StorageFoundation.Default<?>>
- Returns:
- the currently set instance, potentially created on-demand if required.
-
getChannelCreator
public StorageChannelsCreator getChannelCreator()
Description copied from interface:StorageFoundation
Returns the currently setStorageChannelsCreator
instance.If no instance is set and the implementation deems an instance of this type mandatory for the successful executon of
StorageFoundation.createStorageManager()
, a suitable instance is created via an internal default creation logic and then set as the current. If the implementation has not sufficient logic and/or data to create a default instance, aMissingFoundationPartException
is thrown.- Specified by:
getChannelCreator
in interfaceStorageFoundation<F extends StorageFoundation.Default<?>>
- Returns:
- the currently set instance, potentially created on-demand if required.
-
getThreadNameProvider
public StorageThreadNameProvider getThreadNameProvider()
Description copied from interface:StorageFoundation
Returns the currently setStorageThreadNameProvider
instance.If no instance is set and the implementation deems an instance of this type mandatory for the successful executon of
StorageFoundation.createStorageManager()
, a suitable instance is created via an internal default creation logic and then set as the current. If the implementation has not sufficient logic and/or data to create a default instance, aMissingFoundationPartException
is thrown.- Specified by:
getThreadNameProvider
in interfaceStorageFoundation<F extends StorageFoundation.Default<?>>
- Returns:
- the currently set instance, potentially created on-demand if required.
-
getChannelThreadProvider
public StorageChannelThreadProvider getChannelThreadProvider()
Description copied from interface:StorageFoundation
Returns the currently setStorageChannelThreadProvider
instance.If no instance is set and the implementation deems an instance of this type mandatory for the successful executon of
StorageFoundation.createStorageManager()
, a suitable instance is created via an internal default creation logic and then set as the current. If the implementation has not sufficient logic and/or data to create a default instance, aMissingFoundationPartException
is thrown.- Specified by:
getChannelThreadProvider
in interfaceStorageFoundation<F extends StorageFoundation.Default<?>>
- Returns:
- the currently set instance, potentially created on-demand if required.
-
getBackupThreadProvider
public StorageBackupThreadProvider getBackupThreadProvider()
Description copied from interface:StorageFoundation
Returns the currently setStorageBackupThreadProvider
instance.If no instance is set and the implementation deems an instance of this type mandatory for the successful executon of
StorageFoundation.createStorageManager()
, a suitable instance is created via an internal default creation logic and then set as the current. If the implementation has not sufficient logic and/or data to create a default instance, aMissingFoundationPartException
is thrown.- Specified by:
getBackupThreadProvider
in interfaceStorageFoundation<F extends StorageFoundation.Default<?>>
- Returns:
- the currently set instance, potentially created on-demand if required.
-
getProcessIdentityProvider
public ProcessIdentityProvider getProcessIdentityProvider()
Description copied from interface:StorageFoundation
Returns the currently setProcessIdentityProvider
instance.If no instance is set and the implementation deems an instance of this type mandatory for the successful executon of
StorageFoundation.createStorageManager()
, a suitable instance is created via an internal default creation logic and then set as the current. If the implementation has not sufficient logic and/or data to create a default instance, aMissingFoundationPartException
is thrown.- Specified by:
getProcessIdentityProvider
in interfaceStorageFoundation<F extends StorageFoundation.Default<?>>
- Returns:
- the currently set instance, potentially created on-demand if required.
-
getLockFileManagerThreadProvider
public StorageLockFileManagerThreadProvider getLockFileManagerThreadProvider()
Description copied from interface:StorageFoundation
Returns the currently setStorageLockFileManagerThreadProvider
instance.If no instance is set and the implementation deems an instance of this type mandatory for the successful executon of
StorageFoundation.createStorageManager()
, a suitable instance is created via an internal default creation logic and then set as the current. If the implementation has not sufficient logic and/or data to create a default instance, aMissingFoundationPartException
is thrown.- Specified by:
getLockFileManagerThreadProvider
in interfaceStorageFoundation<F extends StorageFoundation.Default<?>>
- Returns:
- the currently set instance, potentially created on-demand if required.
-
getThreadProvider
public StorageThreadProvider getThreadProvider()
Description copied from interface:StorageFoundation
Returns the currently setStorageThreadProvider
instance.If no instance is set and the implementation deems an instance of this type mandatory for the successful executon of
StorageFoundation.createStorageManager()
, a suitable instance is created via an internal default creation logic and then set as the current. If the implementation has not sufficient logic and/or data to create a default instance, aMissingFoundationPartException
is thrown.- Specified by:
getThreadProvider
in interfaceStorageFoundation<F extends StorageFoundation.Default<?>>
- Returns:
- the currently set instance, potentially created on-demand if required.
-
getRequestTaskCreator
public StorageRequestTaskCreator getRequestTaskCreator()
Description copied from interface:StorageFoundation
Returns the currently setStorageRequestTaskCreator
instance.If no instance is set and the implementation deems an instance of this type mandatory for the successful executon of
StorageFoundation.createStorageManager()
, a suitable instance is created via an internal default creation logic and then set as the current. If the implementation has not sufficient logic and/or data to create a default instance, aMissingFoundationPartException
is thrown.- Specified by:
getRequestTaskCreator
in interfaceStorageFoundation<F extends StorageFoundation.Default<?>>
- Returns:
- the currently set instance, potentially created on-demand if required.
-
getTypeDictionary
public StorageTypeDictionary getTypeDictionary()
Description copied from interface:StorageFoundation
Returns the currently setStorageTypeDictionary
instance.If no instance is set and the implementation deems an instance of this type mandatory for the successful executon of
StorageFoundation.createStorageManager()
, a suitable instance is created via an internal default creation logic and then set as the current. If the implementation has not sufficient logic and/or data to create a default instance, aMissingFoundationPartException
is thrown.- Specified by:
getTypeDictionary
in interfaceStorageFoundation<F extends StorageFoundation.Default<?>>
- Returns:
- the currently set instance, potentially created on-demand if required.
-
getRootTypeIdProvider
public StorageRootTypeIdProvider getRootTypeIdProvider()
Description copied from interface:StorageFoundation
Returns the currently setStorageRootTypeIdProvider
instance.If no instance is set and the implementation deems an instance of this type mandatory for the successful executon of
StorageFoundation.createStorageManager()
, a suitable instance is created via an internal default creation logic and then set as the current. If the implementation has not sufficient logic and/or data to create a default instance, aMissingFoundationPartException
is thrown.- Specified by:
getRootTypeIdProvider
in interfaceStorageFoundation<F extends StorageFoundation.Default<?>>
- Returns:
- the currently set instance, potentially created on-demand if required.
-
getConfiguration
public StorageConfiguration getConfiguration()
Description copied from interface:StorageFoundation
Returns the currently setStorageConfiguration
instance.If no instance is set and the implementation deems an instance of this type mandatory for the successful executon of
StorageFoundation.createStorageManager()
, a suitable instance is created via an internal default creation logic and then set as the current. If the implementation has not sufficient logic and/or data to create a default instance, aMissingFoundationPartException
is thrown.- Specified by:
getConfiguration
in interfaceStorageFoundation<F extends StorageFoundation.Default<?>>
- Returns:
- the currently set instance, potentially created on-demand if required.
-
getTimestampProvider
public StorageTimestampProvider getTimestampProvider()
Description copied from interface:StorageFoundation
Returns the currently setStorageTimestampProvider
instance.If no instance is set and the implementation deems an instance of this type mandatory for the successful executon of
StorageFoundation.createStorageManager()
, a suitable instance is created via an internal default creation logic and then set as the current. If the implementation has not sufficient logic and/or data to create a default instance, aMissingFoundationPartException
is thrown.- Specified by:
getTimestampProvider
in interfaceStorageFoundation<F extends StorageFoundation.Default<?>>
- Returns:
- the currently set instance, potentially created on-demand if required.
-
getObjectIdRangeEvaluator
public StorageObjectIdRangeEvaluator getObjectIdRangeEvaluator()
Description copied from interface:StorageFoundation
Returns the currently setStorageObjectIdRangeEvaluator
instance.If no instance is set and the implementation deems an instance of this type mandatory for the successful executon of
StorageFoundation.createStorageManager()
, a suitable instance is created via an internal default creation logic and then set as the current. If the implementation has not sufficient logic and/or data to create a default instance, aMissingFoundationPartException
is thrown.- Specified by:
getObjectIdRangeEvaluator
in interfaceStorageFoundation<F extends StorageFoundation.Default<?>>
- Returns:
- the currently set instance, potentially created on-demand if required.
-
getWriterProvider
public StorageFileWriter.Provider getWriterProvider()
Description copied from interface:StorageFoundation
Returns the currently setStorageFileWriter.Provider
instance.If no instance is set and the implementation deems an instance of this type mandatory for the successful executon of
StorageFoundation.createStorageManager()
, a suitable instance is created via an internal default creation logic and then set as the current. If the implementation has not sufficient logic and/or data to create a default instance, aMissingFoundationPartException
is thrown.- Specified by:
getWriterProvider
in interfaceStorageFoundation<F extends StorageFoundation.Default<?>>
- Returns:
- the currently set instance, potentially created on-demand if required.
-
getReaderProvider
public StorageFileReader.Provider getReaderProvider()
Description copied from interface:StorageFoundation
Returns the currently setStorageFileReader.Provider
instance.If no instance is set and the implementation deems an instance of this type mandatory for the successful executon of
StorageFoundation.createStorageManager()
, a suitable instance is created via an internal default creation logic and then set as the current. If the implementation has not sufficient logic and/or data to create a default instance, aMissingFoundationPartException
is thrown.- Specified by:
getReaderProvider
in interfaceStorageFoundation<F extends StorageFoundation.Default<?>>
- Returns:
- the currently set instance, potentially created on-demand if required.
-
getGCZombieOidHandler
public StorageGCZombieOidHandler getGCZombieOidHandler()
Description copied from interface:StorageFoundation
Returns the currently setStorageGCZombieOidHandler
instance.If no instance is set and the implementation deems an instance of this type mandatory for the successful executon of
StorageFoundation.createStorageManager()
, a suitable instance is created via an internal default creation logic and then set as the current. If the implementation has not sufficient logic and/or data to create a default instance, aMissingFoundationPartException
is thrown.- Specified by:
getGCZombieOidHandler
in interfaceStorageFoundation<F extends StorageFoundation.Default<?>>
- Returns:
- the currently set instance, potentially created on-demand if required.
-
getRootOidSelectorProvider
public StorageRootOidSelector.Provider getRootOidSelectorProvider()
Description copied from interface:StorageFoundation
Returns the currently setStorageRootOidSelector.Provider
instance.If no instance is set and the implementation deems an instance of this type mandatory for the successful executon of
StorageFoundation.createStorageManager()
, a suitable instance is created via an internal default creation logic and then set as the current. If the implementation has not sufficient logic and/or data to create a default instance, aMissingFoundationPartException
is thrown.- Specified by:
getRootOidSelectorProvider
in interfaceStorageFoundation<F extends StorageFoundation.Default<?>>
- Returns:
- the currently set instance, potentially created on-demand if required.
-
getOidMarkQueueCreator
public StorageobjectIdMarkQueue.Creator getOidMarkQueueCreator()
Description copied from interface:StorageFoundation
Returns the currently setStorageobjectIdMarkQueue.Creator
instance.If no instance is set and the implementation deems an instance of this type mandatory for the successful executon of
StorageFoundation.createStorageManager()
, a suitable instance is created via an internal default creation logic and then set as the current. If the implementation has not sufficient logic and/or data to create a default instance, aMissingFoundationPartException
is thrown.- Specified by:
getOidMarkQueueCreator
in interfaceStorageFoundation<F extends StorageFoundation.Default<?>>
- Returns:
- the currently set instance, potentially created on-demand if required.
-
getEntityMarkMonitorCreator
public StorageEntityMarkMonitor.Creator getEntityMarkMonitorCreator()
Description copied from interface:StorageFoundation
Returns the currently setStorageEntityMarkMonitor.Creator
instance.If no instance is set and the implementation deems an instance of this type mandatory for the successful executon of
StorageFoundation.createStorageManager()
, a suitable instance is created via an internal default creation logic and then set as the current. If the implementation has not sufficient logic and/or data to create a default instance, aMissingFoundationPartException
is thrown.- Specified by:
getEntityMarkMonitorCreator
in interfaceStorageFoundation<F extends StorageFoundation.Default<?>>
- Returns:
- the currently set instance, potentially created on-demand if required.
-
getDataFileValidatorCreator
public StorageDataFileValidator.Creator getDataFileValidatorCreator()
Description copied from interface:StorageFoundation
Returns the currently setStorageDataFileValidator.Creator
instance.If no instance is set and the implementation deems an instance of this type mandatory for the successful executon of
StorageFoundation.createStorageManager()
, a suitable instance is created via an internal default creation logic and then set as the current. If the implementation has not sufficient logic and/or data to create a default instance, aMissingFoundationPartException
is thrown.- Specified by:
getDataFileValidatorCreator
in interfaceStorageFoundation<F extends StorageFoundation.Default<?>>
- Returns:
- the currently set instance, potentially created on-demand if required.
-
getEntityDataIteratorProvider
public BinaryEntityRawDataIterator.Provider getEntityDataIteratorProvider()
Description copied from interface:StorageFoundation
Returns the currently setBinaryEntityRawDataIterator.Provider
instance.If no instance is set and the implementation deems an instance of this type mandatory for the successful executon of
StorageFoundation.createStorageManager()
, a suitable instance is created via an internal default creation logic and then set as the current. If the implementation has not sufficient logic and/or data to create a default instance, aMissingFoundationPartException
is thrown.- Specified by:
getEntityDataIteratorProvider
in interfaceStorageFoundation<F extends StorageFoundation.Default<?>>
- Returns:
- the currently set instance, potentially created on-demand if required.
-
getEntityDataValidatorCreator
public StorageEntityDataValidator.Creator getEntityDataValidatorCreator()
Description copied from interface:StorageFoundation
Returns the currently setStorageEntityDataValidator.Creator
instance.If no instance is set and the implementation deems an instance of this type mandatory for the successful executon of
StorageFoundation.createStorageManager()
, a suitable instance is created via an internal default creation logic and then set as the current. If the implementation has not sufficient logic and/or data to create a default instance, aMissingFoundationPartException
is thrown.- Specified by:
getEntityDataValidatorCreator
in interfaceStorageFoundation<F extends StorageFoundation.Default<?>>
- Returns:
- the currently set instance, potentially created on-demand if required.
-
getLockFileSetup
public StorageLockFileSetup getLockFileSetup()
Description copied from interface:StorageFoundation
Returns the currently setStorageLockFileSetup
instance.If no instance is set and the implementation deems an instance of this type mandatory for the successful executon of
StorageFoundation.createStorageManager()
, a suitable instance is created via an internal default creation logic and then set as the current. If the implementation has not sufficient logic and/or data to create a default instance, aMissingFoundationPartException
is thrown.- Specified by:
getLockFileSetup
in interfaceStorageFoundation<F extends StorageFoundation.Default<?>>
- Returns:
- the currently set instance, potentially created on-demand if required.
-
getLockFileSetupProvider
public StorageLockFileSetup.Provider getLockFileSetupProvider()
Description copied from interface:StorageFoundation
Returns the currently setStorageLockFileSetup.Provider
instance.If no instance is set and the implementation deems an instance of this type mandatory for the successful executon of
StorageFoundation.createStorageManager()
, a suitable instance is created via an internal default creation logic and then set as the current. If the implementation has not sufficient logic and/or data to create a default instance, aMissingFoundationPartException
is thrown.- Specified by:
getLockFileSetupProvider
in interfaceStorageFoundation<F extends StorageFoundation.Default<?>>
- Returns:
- the currently set instance, potentially created on-demand if required.
-
getLockFileManagerCreator
public StorageLockFileManager.Creator getLockFileManagerCreator()
Description copied from interface:StorageFoundation
Returns the currently setStorageLockFileManager.Creator
instance.If no instance is set and the implementation deems an instance of this type mandatory for the successful executon of
StorageFoundation.createStorageManager()
, a suitable instance is created via an internal default creation logic and then set as the current. If the implementation has not sufficient logic and/or data to create a default instance, aMissingFoundationPartException
is thrown.- Specified by:
getLockFileManagerCreator
in interfaceStorageFoundation<F extends StorageFoundation.Default<?>>
- Returns:
- the currently set instance, potentially created on-demand if required.
-
getExceptionHandler
public StorageExceptionHandler getExceptionHandler()
Description copied from interface:StorageFoundation
Returns the currently setStorageExceptionHandler
instance.If no instance is set and the implementation deems an instance of this type mandatory for the successful executon of
StorageFoundation.createStorageManager()
, a suitable instance is created via an internal default creation logic and then set as the current. If the implementation has not sufficient logic and/or data to create a default instance, aMissingFoundationPartException
is thrown.- Specified by:
getExceptionHandler
in interfaceStorageFoundation<F extends StorageFoundation.Default<?>>
- Returns:
- the currently set instance, potentially created on-demand if required.
-
getEventLogger
public StorageEventLogger getEventLogger()
- Specified by:
getEventLogger
in interfaceStorageFoundation<F extends StorageFoundation.Default<?>>
-
setOperationControllerCreator
public F setOperationControllerCreator(StorageOperationController.Creator operationControllerCreator)
Description copied from interface:StorageFoundation
Sets theStorageOperationController.Creator
instance to be used for the assembly.- Specified by:
setOperationControllerCreator
in interfaceStorageFoundation<F extends StorageFoundation.Default<?>>
- Parameters:
operationControllerCreator
- the instance to be used.- Returns:
- this to allow method chaining.
-
setInitialDataFileNumberProvider
public F setInitialDataFileNumberProvider(StorageInitialDataFileNumberProvider initialDataFileNumberProvider)
Description copied from interface:StorageFoundation
Sets theStorageInitialDataFileNumberProvider
instance to be used for the assembly.- Specified by:
setInitialDataFileNumberProvider
in interfaceStorageFoundation<F extends StorageFoundation.Default<?>>
- Parameters:
initialDataFileNumberProvider
- the instance to be used.- Returns:
- this to allow method chaining.
-
setRequestAcceptorCreator
public F setRequestAcceptorCreator(StorageRequestAcceptor.Creator requestAcceptorCreator)
Description copied from interface:StorageFoundation
Sets theStorageRequestAcceptor.Creator
instance to be used for the assembly.- Specified by:
setRequestAcceptorCreator
in interfaceStorageFoundation<F extends StorageFoundation.Default<?>>
- Parameters:
requestAcceptorCreator
- the instance to be used.- Returns:
- this to allow method chaining.
-
setTaskBrokerCreator
public F setTaskBrokerCreator(StorageTaskBroker.Creator taskBrokerCreator)
Description copied from interface:StorageFoundation
Sets theStorageTaskBroker.Creator
instance to be used for the assembly.- Specified by:
setTaskBrokerCreator
in interfaceStorageFoundation<F extends StorageFoundation.Default<?>>
- Parameters:
taskBrokerCreator
- the instance to be used.- Returns:
- this to allow method chaining.
-
setDataChunkValidatorProvider
public F setDataChunkValidatorProvider(StorageDataChunkValidator.Provider dataChunkValidatorProvider)
Description copied from interface:StorageFoundation
Sets theStorageDataChunkValidator.Provider
instance to be used for the assembly.- Specified by:
setDataChunkValidatorProvider
in interfaceStorageFoundation<F extends StorageFoundation.Default<?>>
- Parameters:
dataChunkValidatorProvider
- the instance to be used.- Returns:
- this to allow method chaining.
-
setDataChunkValidatorProvider2
public F setDataChunkValidatorProvider2(StorageDataChunkValidator.Provider2 dataChunkValidatorProvider2)
Description copied from interface:StorageFoundation
Sets theStorageDataChunkValidator.Provider2
instance to be used for the assembly.- Specified by:
setDataChunkValidatorProvider2
in interfaceStorageFoundation<F extends StorageFoundation.Default<?>>
- Parameters:
dataChunkValidatorProvider2
- the instance to be used.- Returns:
- this to allow method chaining.
-
setChannelCreator
public F setChannelCreator(StorageChannelsCreator channelCreator)
Description copied from interface:StorageFoundation
Sets theStorageChannelsCreator
instance to be used for the assembly.- Specified by:
setChannelCreator
in interfaceStorageFoundation<F extends StorageFoundation.Default<?>>
- Parameters:
channelCreator
- the instance to be used.- Returns:
- this to allow method chaining.
-
setThreadNameProvider
public F setThreadNameProvider(StorageThreadNameProvider threadNameProvider)
Description copied from interface:StorageFoundation
Sets theStorageThreadNameProvider
instance to be used for the assembly.- Specified by:
setThreadNameProvider
in interfaceStorageFoundation<F extends StorageFoundation.Default<?>>
- Parameters:
threadNameProvider
- the instance to be used.- Returns:
- this to allow method chaining.
-
setChannelThreadProvider
public F setChannelThreadProvider(StorageChannelThreadProvider channelThreadProvider)
Description copied from interface:StorageFoundation
Sets theStorageChannelThreadProvider
instance to be used for the assembly.- Specified by:
setChannelThreadProvider
in interfaceStorageFoundation<F extends StorageFoundation.Default<?>>
- Parameters:
channelThreadProvider
- the instance to be used.- Returns:
- this to allow method chaining.
-
setBackupThreadProvider
public F setBackupThreadProvider(StorageBackupThreadProvider backupThreadProvider)
Description copied from interface:StorageFoundation
Sets theStorageBackupThreadProvider
instance to be used for the assembly.- Specified by:
setBackupThreadProvider
in interfaceStorageFoundation<F extends StorageFoundation.Default<?>>
- Parameters:
backupThreadProvider
- the instance to be used.- Returns:
- this to allow method chaining.
-
setLockFileManagerThreadProvider
public F setLockFileManagerThreadProvider(StorageLockFileManagerThreadProvider lockFileManagerThreadProvider)
Description copied from interface:StorageFoundation
Sets theStorageLockFileManagerThreadProvider
instance to be used for the assembly.- Specified by:
setLockFileManagerThreadProvider
in interfaceStorageFoundation<F extends StorageFoundation.Default<?>>
- Parameters:
lockFileManagerThreadProvider
- the instance to be used.- Returns:
- this to allow method chaining.
-
setThreadProvider
public F setThreadProvider(StorageThreadProvider threadProvider)
Description copied from interface:StorageFoundation
Sets theStorageThreadProvider
instance to be used for the assembly.- Specified by:
setThreadProvider
in interfaceStorageFoundation<F extends StorageFoundation.Default<?>>
- Parameters:
threadProvider
- the instance to be used.- Returns:
- this to allow method chaining.
-
setTaskCreator
public F setTaskCreator(StorageRequestTaskCreator taskCreator)
Description copied from interface:StorageFoundation
Sets theStorageRequestTaskCreator
instance to be used for the assembly.- Specified by:
setTaskCreator
in interfaceStorageFoundation<F extends StorageFoundation.Default<?>>
- Parameters:
taskCreator
- the instance to be used.- Returns:
- this to allow method chaining.
-
setTypeDictionary
public F setTypeDictionary(StorageTypeDictionary typeDictionary)
Description copied from interface:StorageFoundation
Sets theStorageTypeDictionary
instance to be used for the assembly.- Specified by:
setTypeDictionary
in interfaceStorageFoundation<F extends StorageFoundation.Default<?>>
- Parameters:
typeDictionary
- the instance to be used.- Returns:
- this to allow method chaining.
-
setRootTypeIdProvider
public F setRootTypeIdProvider(StorageRootTypeIdProvider rootTypeIdProvider)
Description copied from interface:StorageFoundation
Sets theStorageRootTypeIdProvider
instance to be used for the assembly.- Specified by:
setRootTypeIdProvider
in interfaceStorageFoundation<F extends StorageFoundation.Default<?>>
- Parameters:
rootTypeIdProvider
- the instance to be used.- Returns:
- this to allow method chaining.
-
setConfiguration
public F setConfiguration(StorageConfiguration configuration)
Description copied from interface:StorageFoundation
Sets theStorageConfiguration
instance to be used for the assembly.- Specified by:
setConfiguration
in interfaceStorageFoundation<F extends StorageFoundation.Default<?>>
- Parameters:
configuration
- the instance to be used.- Returns:
- this to allow method chaining.
-
setTimestampProvider
public F setTimestampProvider(StorageTimestampProvider timestampProvider)
Description copied from interface:StorageFoundation
Sets theStorageTimestampProvider
instance to be used for the assembly.- Specified by:
setTimestampProvider
in interfaceStorageFoundation<F extends StorageFoundation.Default<?>>
- Parameters:
timestampProvider
- the instance to be used.- Returns:
- this to allow method chaining.
-
setObjectIdRangeEvaluator
public F setObjectIdRangeEvaluator(StorageObjectIdRangeEvaluator objectIdRangeEvaluator)
Description copied from interface:StorageFoundation
Sets theStorageObjectIdRangeEvaluator
instance to be used for the assembly.- Specified by:
setObjectIdRangeEvaluator
in interfaceStorageFoundation<F extends StorageFoundation.Default<?>>
- Parameters:
objectIdRangeEvaluator
- the instance to be used.- Returns:
- this to allow method chaining.
-
setReaderProvider
public F setReaderProvider(StorageFileReader.Provider readerProvider)
Description copied from interface:StorageFoundation
Sets theStorageFileReader.Provider
instance to be used for the assembly.- Specified by:
setReaderProvider
in interfaceStorageFoundation<F extends StorageFoundation.Default<?>>
- Parameters:
readerProvider
- the instance to be used.- Returns:
- this to allow method chaining.
-
setWriterProvider
public F setWriterProvider(StorageFileWriter.Provider writerProvider)
Description copied from interface:StorageFoundation
Sets theStorageFileWriter.Provider
instance to be used for the assembly.- Specified by:
setWriterProvider
in interfaceStorageFoundation<F extends StorageFoundation.Default<?>>
- Parameters:
writerProvider
- the instance to be used.- Returns:
- this to allow method chaining.
-
setGCZombieOidHandler
public F setGCZombieOidHandler(StorageGCZombieOidHandler gCZombieOidHandler)
Description copied from interface:StorageFoundation
Sets theStorageGCZombieOidHandler
instance to be used for the assembly.- Specified by:
setGCZombieOidHandler
in interfaceStorageFoundation<F extends StorageFoundation.Default<?>>
- Parameters:
gCZombieOidHandler
- the instance to be used.- Returns:
- this to allow method chaining.
-
setRootOidSelectorProvider
public F setRootOidSelectorProvider(StorageRootOidSelector.Provider rootOidSelectorProvider)
Description copied from interface:StorageFoundation
Sets theStorageRootOidSelector.Provider
instance to be used for the assembly.- Specified by:
setRootOidSelectorProvider
in interfaceStorageFoundation<F extends StorageFoundation.Default<?>>
- Parameters:
rootOidSelectorProvider
- the instance to be used.- Returns:
- this to allow method chaining.
-
setOidMarkQueueCreator
public F setOidMarkQueueCreator(StorageobjectIdMarkQueue.Creator oidMarkQueueCreator)
Description copied from interface:StorageFoundation
Sets theStorageobjectIdMarkQueue.Creator
instance to be used for the assembly.- Specified by:
setOidMarkQueueCreator
in interfaceStorageFoundation<F extends StorageFoundation.Default<?>>
- Parameters:
oidMarkQueueCreator
- the instance to be used.- Returns:
- this to allow method chaining.
-
setEntityMarkMonitorCreator
public F setEntityMarkMonitorCreator(StorageEntityMarkMonitor.Creator entityMarkMonitorCreator)
Description copied from interface:StorageFoundation
Sets theStorageEntityMarkMonitor.Creator
instance to be used for the assembly.- Specified by:
setEntityMarkMonitorCreator
in interfaceStorageFoundation<F extends StorageFoundation.Default<?>>
- Parameters:
entityMarkMonitorCreator
- the instance to be used.- Returns:
- this to allow method chaining.
-
setDataFileValidatorCreator
public F setDataFileValidatorCreator(StorageDataFileValidator.Creator dataFileValidatorCreator)
Description copied from interface:StorageFoundation
Sets theStorageDataFileValidator.Creator
instance to be used for the assembly.- Specified by:
setDataFileValidatorCreator
in interfaceStorageFoundation<F extends StorageFoundation.Default<?>>
- Parameters:
dataFileValidatorCreator
- the instance to be used.- Returns:
- this to allow method chaining.
-
setEntityDataIteratorProvider
public F setEntityDataIteratorProvider(BinaryEntityRawDataIterator.Provider entityDataIteratorProvider)
Description copied from interface:StorageFoundation
Sets theBinaryEntityRawDataIterator.Provider
instance to be used for the assembly.- Specified by:
setEntityDataIteratorProvider
in interfaceStorageFoundation<F extends StorageFoundation.Default<?>>
- Parameters:
entityDataIteratorProvider
- the instance to be used.- Returns:
- this to allow method chaining.
-
setEntityDataValidatorCreator
public F setEntityDataValidatorCreator(StorageEntityDataValidator.Creator entityDataValidatorCreator)
Description copied from interface:StorageFoundation
Sets theStorageEntityDataValidator.Creator
instance to be used for the assembly.- Specified by:
setEntityDataValidatorCreator
in interfaceStorageFoundation<F extends StorageFoundation.Default<?>>
- Parameters:
entityDataValidatorCreator
- the instance to be used.- Returns:
- this to allow method chaining.
-
setProcessIdentityProvider
public F setProcessIdentityProvider(ProcessIdentityProvider processIdentityProvider)
Description copied from interface:StorageFoundation
Sets theProcessIdentityProvider
instance to be used for the assembly.- Specified by:
setProcessIdentityProvider
in interfaceStorageFoundation<F extends StorageFoundation.Default<?>>
- Parameters:
processIdentityProvider
- the instance to be used.- Returns:
- this to allow method chaining.
-
setLockFileSetup
public F setLockFileSetup(StorageLockFileSetup lockFileSetup)
Description copied from interface:StorageFoundation
Sets theStorageLockFileSetup
instance to be used for the assembly.- Specified by:
setLockFileSetup
in interfaceStorageFoundation<F extends StorageFoundation.Default<?>>
- Parameters:
lockFileSetup
- the instance to be used.- Returns:
- this to allow method chaining.
-
setLockFileSetupProvider
public F setLockFileSetupProvider(StorageLockFileSetup.Provider lockFileSetupProvider)
Description copied from interface:StorageFoundation
Sets theStorageLockFileSetup.Provider
instance to be used for the assembly.- Specified by:
setLockFileSetupProvider
in interfaceStorageFoundation<F extends StorageFoundation.Default<?>>
- Parameters:
lockFileSetupProvider
- the instance to be used.- Returns:
- this to allow method chaining.
-
setLockFileManagerCreator
public F setLockFileManagerCreator(StorageLockFileManager.Creator lockFileManagerCreator)
Description copied from interface:StorageFoundation
Sets theStorageLockFileManager.Creator
instance to be used for the assembly.- Specified by:
setLockFileManagerCreator
in interfaceStorageFoundation<F extends StorageFoundation.Default<?>>
- Parameters:
lockFileManagerCreator
- the instance to be used.- Returns:
- this to allow method chaining.
-
setExceptionHandler
public F setExceptionHandler(StorageExceptionHandler exceptionHandler)
Description copied from interface:StorageFoundation
Sets theStorageExceptionHandler
instance to be used for the assembly.- Specified by:
setExceptionHandler
in interfaceStorageFoundation<F extends StorageFoundation.Default<?>>
- Parameters:
exceptionHandler
- the instance to be used.- Returns:
- this to allow method chaining.
-
setEventLogger
public F setEventLogger(StorageEventLogger eventLogger)
- Specified by:
setEventLogger
in interfaceStorageFoundation<F extends StorageFoundation.Default<?>>
-
isByteOrderMismatch
public final boolean isByteOrderMismatch()
-
createStorageManager
public StorageManager createStorageManager()
Description copied from interface:StorageFoundation
Creates and returns a newStorageManager
instance by using the current state of all registered logic part instances and by on-demand creating missing ones via a default logic.The returned
StorageManager
instance will NOT yet be started.- Specified by:
createStorageManager
in interfaceStorageFoundation<F extends StorageFoundation.Default<?>>
- Returns:
- a new
StorageManager
instance.
-
-