Class StorageFoundation.Default<F extends StorageFoundation.Default<?>>
- 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
-
Constructor Details
-
Default
public Default()
-
-
Method Details
-
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.createStorageSystem()
, 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
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.createStorageSystem()
, 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
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.createStorageSystem()
, 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
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.createStorageSystem()
, 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
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.createStorageSystem()
, 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
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.createStorageSystem()
, 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
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.createStorageSystem()
, 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
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.createStorageSystem()
, 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
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.createStorageSystem()
, 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
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.createStorageSystem()
, 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
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.createStorageSystem()
, 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
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.createStorageSystem()
, 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
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.createStorageSystem()
, 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
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.createStorageSystem()
, 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
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.createStorageSystem()
, 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
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.createStorageSystem()
, 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
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.createStorageSystem()
, 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
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.createStorageSystem()
, 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
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.createStorageSystem()
, 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
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.createStorageSystem()
, 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
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.createStorageSystem()
, 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
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.createStorageSystem()
, 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
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.createStorageSystem()
, 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
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.createStorageSystem()
, 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
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.createStorageSystem()
, 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
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.createStorageSystem()
, 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
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.createStorageSystem()
, 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
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.createStorageSystem()
, 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
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.createStorageSystem()
, 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
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.createStorageSystem()
, 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
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.createStorageSystem()
, 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
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.createStorageSystem()
, 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
- 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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
- Specified by:
setEventLogger
in interfaceStorageFoundation<F extends StorageFoundation.Default<?>>
-
isByteOrderMismatch
public final boolean isByteOrderMismatch() -
createStorageSystem
Description copied from interface:StorageFoundation
Creates and returns a newStorageSystem
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
StorageSystem
instance will NOT yet be started.- Specified by:
createStorageSystem
in interfaceStorageFoundation<F extends StorageFoundation.Default<?>>
- Returns:
- a new
StorageSystem
instance.
-