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:
one.microstream.persistence.types.Unpersistable,StorageFoundation<F>,one.microstream.util.InstanceDispatcher
- Enclosing interface:
- StorageFoundation<F extends StorageFoundation<?>>
public static class StorageFoundation.Default<F extends StorageFoundation.Default<?>> extends one.microstream.util.InstanceDispatcher.Default implements StorageFoundation<F>, one.microstream.persistence.types.Unpersistable
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface one.microstream.util.InstanceDispatcher
one.microstream.util.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
dispatch, getInstanceDispatcherLogic, setInstanceDispatcherLogic
-
-
-
-
Method Detail
-
$
protected final F $()
-
ensureStorageGCZombieOidHandler
protected StorageGCZombieOidHandler ensureStorageGCZombieOidHandler()
-
ensureConfiguration
protected StorageConfiguration ensureConfiguration()
-
ensureOperationControllerCreator
protected StorageOperationController.Creator ensureOperationControllerCreator()
-
ensureInitialDataFileNumberProvider
protected StorageInitialDataFileNumberProvider ensureInitialDataFileNumberProvider()
-
ensureStorageConfiguration
protected StorageDataFileEvaluator ensureStorageConfiguration()
-
ensureRequestAcceptorCreator
protected StorageRequestAcceptor.Creator ensureRequestAcceptorCreator()
-
ensureTaskBrokerCreator
protected StorageTaskBroker.Creator ensureTaskBrokerCreator()
-
ensureDataChunkValidatorProvider
protected StorageDataChunkValidator.Provider ensureDataChunkValidatorProvider()
-
ensureDataChunkValidatorProvider2
protected StorageDataChunkValidator.Provider2 ensureDataChunkValidatorProvider2()
-
ensureChannelCreator
protected StorageChannelsCreator ensureChannelCreator()
-
ensureThreadNameProvider
protected StorageThreadNameProvider ensureThreadNameProvider()
-
ensureChannelThreadProvider
protected StorageChannelThreadProvider ensureChannelThreadProvider()
-
ensureBackupThreadProvider
protected StorageBackupThreadProvider ensureBackupThreadProvider()
-
ensureProcessIdentityProvider
protected one.microstream.util.ProcessIdentityProvider ensureProcessIdentityProvider()
-
ensureLockFileManagerThreadProvider
protected StorageLockFileManagerThreadProvider ensureLockFileManagerThreadProvider()
-
ensureThreadProvider
protected StorageThreadProvider ensureThreadProvider()
-
ensureRequestTaskCreator
protected StorageRequestTaskCreator ensureRequestTaskCreator()
-
ensureTypeDictionary
protected StorageTypeDictionary ensureTypeDictionary()
-
ensureChannelCountProvider
protected StorageChannelCountProvider ensureChannelCountProvider(int channelCount)
-
ensureRootTypeIdProvider
protected StorageRootTypeIdProvider ensureRootTypeIdProvider()
-
ensureTimestampProvider
protected StorageTimestampProvider ensureTimestampProvider()
-
ensureObjectIdRangeEvaluator
protected StorageObjectIdRangeEvaluator ensureObjectIdRangeEvaluator()
-
ensureWriterProvider
protected StorageFileWriter.Provider ensureWriterProvider()
-
ensureRootOidSelectorProvider
protected StorageRootOidSelector.Provider ensureRootOidSelectorProvider()
-
ensureOidMarkQueueCreator
protected StorageObjectIdMarkQueue.Creator ensureOidMarkQueueCreator()
-
ensureEntityMarkMonitorCreator
protected StorageEntityMarkMonitor.Creator ensureEntityMarkMonitorCreator()
-
ensureDataFileValidatorCreator
protected StorageDataFileValidator.Creator ensureDataFileValidatorCreator()
-
ensureEntityDataIteratorProvider
protected BinaryEntityRawDataIterator.Provider ensureEntityDataIteratorProvider()
-
ensureEntityDataValidatorCreator
protected StorageEntityDataValidator.Creator ensureEntityDataValidatorCreator()
-
ensureExceptionHandler
protected StorageExceptionHandler ensureExceptionHandler()
-
ensureEventLogger
protected StorageEventLogger ensureEventLogger()
-
provideLockFileSetup
protected StorageLockFileSetup provideLockFileSetup()
-
ensureLockFileManagerCreator
protected StorageLockFileManager.Creator ensureLockFileManagerCreator()
-
ensureTargetByteOrder
protected ByteOrder ensureTargetByteOrder()
-
ensureWriteController
protected StorageWriteController ensureWriteController()
-
ensureHousekeepingBroker
protected StorageHousekeepingBroker ensureHousekeepingBroker()
-
ensureObjectIdsSelector
protected one.microstream.persistence.types.ObjectIdsSelector ensureObjectIdsSelector()
-
ensureLiveStorerRegistryReference
protected one.microstream.reference.Reference<one.microstream.persistence.types.PersistenceLiveStorerRegistry> ensureLiveStorerRegistryReference()
-
ensureStorageStructureValidator
protected StorageStructureValidator ensureStorageStructureValidator()
-
getOperationControllerCreator
public StorageOperationController.Creator getOperationControllerCreator()
Description copied from interface:StorageFoundationReturns the currently setStorageOperationController.Creatorinstance.If no instance is set and the implementation deems an instance of this type mandatory for the successful execution 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, aMissingFoundationPartExceptionis thrown.- Specified by:
getOperationControllerCreatorin interfaceStorageFoundation<F extends StorageFoundation.Default<?>>- Returns:
- the currently set instance, potentially created on-demand if required.
-
getInitialDataFileNumberProvider
public StorageInitialDataFileNumberProvider getInitialDataFileNumberProvider()
Description copied from interface:StorageFoundationReturns the currently setStorageInitialDataFileNumberProviderinstance.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, aMissingFoundationPartExceptionis thrown.- Specified by:
getInitialDataFileNumberProviderin 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:StorageFoundationReturns the currently setStorageRequestAcceptor.Creatorinstance.If no instance is set and the implementation deems an instance of this type mandatory for the successful execution 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, aMissingFoundationPartExceptionis thrown.- Specified by:
getRequestAcceptorCreatorin 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:StorageFoundationReturns the currently setStorageTaskBroker.Creatorinstance.If no instance is set and the implementation deems an instance of this type mandatory for the successful execution 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, aMissingFoundationPartExceptionis thrown.- Specified by:
getTaskBrokerCreatorin 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:StorageFoundationReturns the currently setStorageDataChunkValidator.Providerinstance.If no instance is set and the implementation deems an instance of this type mandatory for the successful execution 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, aMissingFoundationPartExceptionis thrown.- Specified by:
getDataChunkValidatorProviderin 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:StorageFoundationReturns the currently setStorageDataChunkValidator.Provider2instance.If no instance is set and the implementation deems an instance of this type mandatory for the successful execution 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, aMissingFoundationPartExceptionis thrown.- Specified by:
getDataChunkValidatorProvider2in interfaceStorageFoundation<F extends StorageFoundation.Default<?>>- Returns:
- the currently set instance, potentially created on-demand if required.
-
getChannelCreator
public StorageChannelsCreator getChannelCreator()
Description copied from interface:StorageFoundationReturns the currently setStorageChannelsCreatorinstance.If no instance is set and the implementation deems an instance of this type mandatory for the successful execution 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, aMissingFoundationPartExceptionis thrown.- Specified by:
getChannelCreatorin interfaceStorageFoundation<F extends StorageFoundation.Default<?>>- Returns:
- the currently set instance, potentially created on-demand if required.
-
getThreadNameProvider
public StorageThreadNameProvider getThreadNameProvider()
Description copied from interface:StorageFoundationReturns the currently setStorageThreadNameProviderinstance.If no instance is set and the implementation deems an instance of this type mandatory for the successful execution 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, aMissingFoundationPartExceptionis thrown.- Specified by:
getThreadNameProviderin interfaceStorageFoundation<F extends StorageFoundation.Default<?>>- Returns:
- the currently set instance, potentially created on-demand if required.
-
getChannelThreadProvider
public StorageChannelThreadProvider getChannelThreadProvider()
Description copied from interface:StorageFoundationReturns the currently setStorageChannelThreadProviderinstance.If no instance is set and the implementation deems an instance of this type mandatory for the successful execution 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, aMissingFoundationPartExceptionis thrown.- Specified by:
getChannelThreadProviderin interfaceStorageFoundation<F extends StorageFoundation.Default<?>>- Returns:
- the currently set instance, potentially created on-demand if required.
-
getBackupThreadProvider
public StorageBackupThreadProvider getBackupThreadProvider()
Description copied from interface:StorageFoundationReturns the currently setStorageBackupThreadProviderinstance.If no instance is set and the implementation deems an instance of this type mandatory for the successful execution 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, aMissingFoundationPartExceptionis thrown.- Specified by:
getBackupThreadProviderin interfaceStorageFoundation<F extends StorageFoundation.Default<?>>- Returns:
- the currently set instance, potentially created on-demand if required.
-
getProcessIdentityProvider
public one.microstream.util.ProcessIdentityProvider getProcessIdentityProvider()
Description copied from interface:StorageFoundationReturns the currently setProcessIdentityProviderinstance.If no instance is set and the implementation deems an instance of this type mandatory for the successful execution 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, aMissingFoundationPartExceptionis thrown.- Specified by:
getProcessIdentityProviderin interfaceStorageFoundation<F extends StorageFoundation.Default<?>>- Returns:
- the currently set instance, potentially created on-demand if required.
-
getLockFileManagerThreadProvider
public StorageLockFileManagerThreadProvider getLockFileManagerThreadProvider()
Description copied from interface:StorageFoundationReturns the currently setStorageLockFileManagerThreadProviderinstance.If no instance is set and the implementation deems an instance of this type mandatory for the successful execution 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, aMissingFoundationPartExceptionis thrown.- Specified by:
getLockFileManagerThreadProviderin interfaceStorageFoundation<F extends StorageFoundation.Default<?>>- Returns:
- the currently set instance, potentially created on-demand if required.
-
getThreadProvider
public StorageThreadProvider getThreadProvider()
Description copied from interface:StorageFoundationReturns the currently setStorageThreadProviderinstance.If no instance is set and the implementation deems an instance of this type mandatory for the successful execution 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, aMissingFoundationPartExceptionis thrown.- Specified by:
getThreadProviderin interfaceStorageFoundation<F extends StorageFoundation.Default<?>>- Returns:
- the currently set instance, potentially created on-demand if required.
-
getRequestTaskCreator
public StorageRequestTaskCreator getRequestTaskCreator()
Description copied from interface:StorageFoundationReturns the currently setStorageRequestTaskCreatorinstance.If no instance is set and the implementation deems an instance of this type mandatory for the successful execution 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, aMissingFoundationPartExceptionis thrown.- Specified by:
getRequestTaskCreatorin interfaceStorageFoundation<F extends StorageFoundation.Default<?>>- Returns:
- the currently set instance, potentially created on-demand if required.
-
getTypeDictionary
public StorageTypeDictionary getTypeDictionary()
Description copied from interface:StorageFoundationReturns the currently setStorageTypeDictionaryinstance.If no instance is set and the implementation deems an instance of this type mandatory for the successful execution 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, aMissingFoundationPartExceptionis thrown.- Specified by:
getTypeDictionaryin interfaceStorageFoundation<F extends StorageFoundation.Default<?>>- Returns:
- the currently set instance, potentially created on-demand if required.
-
getRootTypeIdProvider
public StorageRootTypeIdProvider getRootTypeIdProvider()
Description copied from interface:StorageFoundationReturns the currently setStorageRootTypeIdProviderinstance.If no instance is set and the implementation deems an instance of this type mandatory for the successful execution 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, aMissingFoundationPartExceptionis thrown.- Specified by:
getRootTypeIdProviderin interfaceStorageFoundation<F extends StorageFoundation.Default<?>>- Returns:
- the currently set instance, potentially created on-demand if required.
-
getConfiguration
public StorageConfiguration getConfiguration()
Description copied from interface:StorageFoundationReturns the currently setStorageConfigurationinstance.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, aMissingFoundationPartExceptionis thrown.- Specified by:
getConfigurationin interfaceStorageFoundation<F extends StorageFoundation.Default<?>>- Returns:
- the currently set instance, potentially created on-demand if required.
-
getTimestampProvider
public StorageTimestampProvider getTimestampProvider()
Description copied from interface:StorageFoundationReturns the currently setStorageTimestampProviderinstance.If no instance is set and the implementation deems an instance of this type mandatory for the successful execution 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, aMissingFoundationPartExceptionis thrown.- Specified by:
getTimestampProviderin interfaceStorageFoundation<F extends StorageFoundation.Default<?>>- Returns:
- the currently set instance, potentially created on-demand if required.
-
getObjectIdRangeEvaluator
public StorageObjectIdRangeEvaluator getObjectIdRangeEvaluator()
Description copied from interface:StorageFoundationReturns the currently setStorageObjectIdRangeEvaluatorinstance.If no instance is set and the implementation deems an instance of this type mandatory for the successful execution 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, aMissingFoundationPartExceptionis thrown.- Specified by:
getObjectIdRangeEvaluatorin 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:StorageFoundationReturns the currently setStorageFileWriter.Providerinstance.If no instance is set and the implementation deems an instance of this type mandatory for the successful execution 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, aMissingFoundationPartExceptionis thrown.- Specified by:
getWriterProviderin interfaceStorageFoundation<F extends StorageFoundation.Default<?>>- Returns:
- the currently set instance, potentially created on-demand if required.
-
getGCZombieOidHandler
public StorageGCZombieOidHandler getGCZombieOidHandler()
Description copied from interface:StorageFoundationReturns the currently setStorageGCZombieOidHandlerinstance.If no instance is set and the implementation deems an instance of this type mandatory for the successful execution 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, aMissingFoundationPartExceptionis thrown.- Specified by:
getGCZombieOidHandlerin 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:StorageFoundationReturns the currently setStorageRootOidSelector.Providerinstance.If no instance is set and the implementation deems an instance of this type mandatory for the successful execution 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, aMissingFoundationPartExceptionis thrown.- Specified by:
getRootOidSelectorProviderin 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:StorageFoundationReturns the currently setStorageObjectIdMarkQueue.Creatorinstance.If no instance is set and the implementation deems an instance of this type mandatory for the successful execution 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, aMissingFoundationPartExceptionis thrown.- Specified by:
getOidMarkQueueCreatorin 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:StorageFoundationReturns the currently setStorageEntityMarkMonitor.Creatorinstance.If no instance is set and the implementation deems an instance of this type mandatory for the successful execution 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, aMissingFoundationPartExceptionis thrown.- Specified by:
getEntityMarkMonitorCreatorin 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:StorageFoundationReturns the currently setStorageDataFileValidator.Creatorinstance.If no instance is set and the implementation deems an instance of this type mandatory for the successful execution 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, aMissingFoundationPartExceptionis thrown.- Specified by:
getDataFileValidatorCreatorin 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:StorageFoundationReturns the currently setBinaryEntityRawDataIterator.Providerinstance.If no instance is set and the implementation deems an instance of this type mandatory for the successful execution 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, aMissingFoundationPartExceptionis thrown.- Specified by:
getEntityDataIteratorProviderin 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:StorageFoundationReturns the currently setStorageEntityDataValidator.Creatorinstance.If no instance is set and the implementation deems an instance of this type mandatory for the successful execution 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, aMissingFoundationPartExceptionis thrown.- Specified by:
getEntityDataValidatorCreatorin interfaceStorageFoundation<F extends StorageFoundation.Default<?>>- Returns:
- the currently set instance, potentially created on-demand if required.
-
getLockFileSetup
public StorageLockFileSetup getLockFileSetup()
Description copied from interface:StorageFoundationReturns the currently setStorageLockFileSetupinstance.If no instance is set and the implementation deems an instance of this type mandatory for the successful execution 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, aMissingFoundationPartExceptionis thrown.- Specified by:
getLockFileSetupin 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:StorageFoundationReturns the currently setStorageLockFileSetup.Providerinstance.If no instance is set and the implementation deems an instance of this type mandatory for the successful execution 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, aMissingFoundationPartExceptionis thrown.- Specified by:
getLockFileSetupProviderin 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:StorageFoundationReturns the currently setStorageLockFileManager.Creatorinstance.If no instance is set and the implementation deems an instance of this type mandatory for the successful execution 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, aMissingFoundationPartExceptionis thrown.- Specified by:
getLockFileManagerCreatorin interfaceStorageFoundation<F extends StorageFoundation.Default<?>>- Returns:
- the currently set instance, potentially created on-demand if required.
-
getExceptionHandler
public StorageExceptionHandler getExceptionHandler()
Description copied from interface:StorageFoundationReturns the currently setStorageExceptionHandlerinstance.If no instance is set and the implementation deems an instance of this type mandatory for the successful execution 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, aMissingFoundationPartExceptionis thrown.- Specified by:
getExceptionHandlerin interfaceStorageFoundation<F extends StorageFoundation.Default<?>>- Returns:
- the currently set instance, potentially created on-demand if required.
-
getEventLogger
public StorageEventLogger getEventLogger()
- Specified by:
getEventLoggerin interfaceStorageFoundation<F extends StorageFoundation.Default<?>>
-
writeController
public StorageWriteController writeController()
- Specified by:
writeControllerin interfaceStorageFoundation<F extends StorageFoundation.Default<?>>
-
getWriteController
public StorageWriteController getWriteController()
- Specified by:
getWriteControllerin interfaceStorageFoundation<F extends StorageFoundation.Default<?>>
-
housekeepingBroker
public StorageHousekeepingBroker housekeepingBroker()
- Specified by:
housekeepingBrokerin interfaceStorageFoundation<F extends StorageFoundation.Default<?>>
-
getHousekeepingBroker
public StorageHousekeepingBroker getHousekeepingBroker()
- Specified by:
getHousekeepingBrokerin interfaceStorageFoundation<F extends StorageFoundation.Default<?>>
-
getLiveObjectIdChecker
public final one.microstream.persistence.types.ObjectIdsSelector getLiveObjectIdChecker()
- Specified by:
getLiveObjectIdCheckerin interfaceStorageFoundation<F extends StorageFoundation.Default<?>>
-
getLiveStorerRegistryReference
public final one.microstream.reference.Reference<one.microstream.persistence.types.PersistenceLiveStorerRegistry> getLiveStorerRegistryReference()
- Specified by:
getLiveStorerRegistryReferencein interfaceStorageFoundation<F extends StorageFoundation.Default<?>>
-
getStorageStructureValidator
public StorageStructureValidator getStorageStructureValidator()
Description copied from interface:StorageFoundationReturns the currently setStorageStructureValidatorinstance.If no instance is set and the implementation deems an instance of this type mandatory for the successful execution 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, aMissingFoundationPartExceptionis thrown.- Specified by:
getStorageStructureValidatorin interfaceStorageFoundation<F extends StorageFoundation.Default<?>>- Returns:
- the currently set instance, potentially created on-demand if required.
-
setOperationControllerCreator
public F setOperationControllerCreator(StorageOperationController.Creator operationControllerCreator)
Description copied from interface:StorageFoundationSets theStorageOperationController.Creatorinstance to be used for the assembly.- Specified by:
setOperationControllerCreatorin 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:StorageFoundationSets theStorageInitialDataFileNumberProviderinstance to be used for the assembly.- Specified by:
setInitialDataFileNumberProviderin 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:StorageFoundationSets theStorageRequestAcceptor.Creatorinstance to be used for the assembly.- Specified by:
setRequestAcceptorCreatorin 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:StorageFoundationSets theStorageTaskBroker.Creatorinstance to be used for the assembly.- Specified by:
setTaskBrokerCreatorin 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:StorageFoundationSets theStorageDataChunkValidator.Providerinstance to be used for the assembly.- Specified by:
setDataChunkValidatorProviderin 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:StorageFoundationSets theStorageDataChunkValidator.Provider2instance to be used for the assembly.- Specified by:
setDataChunkValidatorProvider2in 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:StorageFoundationSets theStorageChannelsCreatorinstance to be used for the assembly.- Specified by:
setChannelCreatorin 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:StorageFoundationSets theStorageThreadNameProviderinstance to be used for the assembly.- Specified by:
setThreadNameProviderin 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:StorageFoundationSets theStorageChannelThreadProviderinstance to be used for the assembly.- Specified by:
setChannelThreadProviderin 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:StorageFoundationSets theStorageBackupThreadProviderinstance to be used for the assembly.- Specified by:
setBackupThreadProviderin 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:StorageFoundationSets theStorageLockFileManagerThreadProviderinstance to be used for the assembly.- Specified by:
setLockFileManagerThreadProviderin 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:StorageFoundationSets theStorageThreadProviderinstance to be used for the assembly.- Specified by:
setThreadProviderin 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:StorageFoundationSets theStorageRequestTaskCreatorinstance to be used for the assembly.- Specified by:
setTaskCreatorin 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:StorageFoundationSets theStorageTypeDictionaryinstance to be used for the assembly.- Specified by:
setTypeDictionaryin 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:StorageFoundationSets theStorageRootTypeIdProviderinstance to be used for the assembly.- Specified by:
setRootTypeIdProviderin 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:StorageFoundationSets theStorageConfigurationinstance to be used for the assembly.- Specified by:
setConfigurationin 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:StorageFoundationSets theStorageTimestampProviderinstance to be used for the assembly.- Specified by:
setTimestampProviderin 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:StorageFoundationSets theStorageObjectIdRangeEvaluatorinstance to be used for the assembly.- Specified by:
setObjectIdRangeEvaluatorin interfaceStorageFoundation<F extends StorageFoundation.Default<?>>- Parameters:
objectIdRangeEvaluator- the instance to be used.- Returns:
- this to allow method chaining.
-
setWriterProvider
public F setWriterProvider(StorageFileWriter.Provider writerProvider)
Description copied from interface:StorageFoundationSets theStorageFileWriter.Providerinstance to be used for the assembly.- Specified by:
setWriterProviderin 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:StorageFoundationSets theStorageGCZombieOidHandlerinstance to be used for the assembly.- Specified by:
setGCZombieOidHandlerin 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:StorageFoundationSets theStorageRootOidSelector.Providerinstance to be used for the assembly.- Specified by:
setRootOidSelectorProviderin 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:StorageFoundationSets theStorageObjectIdMarkQueue.Creatorinstance to be used for the assembly.- Specified by:
setOidMarkQueueCreatorin 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:StorageFoundationSets theStorageEntityMarkMonitor.Creatorinstance to be used for the assembly.- Specified by:
setEntityMarkMonitorCreatorin 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:StorageFoundationSets theStorageDataFileValidator.Creatorinstance to be used for the assembly.- Specified by:
setDataFileValidatorCreatorin 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:StorageFoundationSets theBinaryEntityRawDataIterator.Providerinstance to be used for the assembly.- Specified by:
setEntityDataIteratorProviderin 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:StorageFoundationSets theStorageEntityDataValidator.Creatorinstance to be used for the assembly.- Specified by:
setEntityDataValidatorCreatorin interfaceStorageFoundation<F extends StorageFoundation.Default<?>>- Parameters:
entityDataValidatorCreator- the instance to be used.- Returns:
- this to allow method chaining.
-
setProcessIdentityProvider
public F setProcessIdentityProvider(one.microstream.util.ProcessIdentityProvider processIdentityProvider)
Description copied from interface:StorageFoundationSets theProcessIdentityProviderinstance to be used for the assembly.- Specified by:
setProcessIdentityProviderin 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:StorageFoundationSets theStorageLockFileSetupinstance to be used for the assembly.- Specified by:
setLockFileSetupin 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:StorageFoundationSets theStorageLockFileSetup.Providerinstance to be used for the assembly.- Specified by:
setLockFileSetupProviderin 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:StorageFoundationSets theStorageLockFileManager.Creatorinstance to be used for the assembly.- Specified by:
setLockFileManagerCreatorin 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:StorageFoundationSets theStorageExceptionHandlerinstance to be used for the assembly.- Specified by:
setExceptionHandlerin 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:
setEventLoggerin interfaceStorageFoundation<F extends StorageFoundation.Default<?>>
-
setWriteController
public F setWriteController(StorageWriteController writeController)
- Specified by:
setWriteControllerin interfaceStorageFoundation<F extends StorageFoundation.Default<?>>
-
setHousekeepingBroker
public F setHousekeepingBroker(StorageHousekeepingBroker housekeepingBroker)
- Specified by:
setHousekeepingBrokerin interfaceStorageFoundation<F extends StorageFoundation.Default<?>>
-
setLiveObjectIdChecker
public F setLiveObjectIdChecker(one.microstream.persistence.types.ObjectIdsSelector liveObjectIdChecker)
- Specified by:
setLiveObjectIdCheckerin interfaceStorageFoundation<F extends StorageFoundation.Default<?>>
-
setLiveStorerRegistryReference
public final F setLiveStorerRegistryReference(one.microstream.reference.Reference<one.microstream.persistence.types.PersistenceLiveStorerRegistry> refLiveStorerRegistry)
- Specified by:
setLiveStorerRegistryReferencein interfaceStorageFoundation<F extends StorageFoundation.Default<?>>
-
setStorageStructureValidator
public F setStorageStructureValidator(StorageStructureValidator storageStructureValidator)
Description copied from interface:StorageFoundationSets theStorageStructureValidatorinstance to be used for the assembly.- Specified by:
setStorageStructureValidatorin interfaceStorageFoundation<F extends StorageFoundation.Default<?>>- Parameters:
storageStructureValidator- the instance to be used.- Returns:
- this to allow method chaining.
-
isByteOrderMismatch
public final boolean isByteOrderMismatch()
-
createStorageSystem
public StorageSystem createStorageSystem()
Description copied from interface:StorageFoundationCreates and returns a newStorageSysteminstance by using the current state of all registered logic part instances and by on-demand creating missing ones via a default logic.The returned
StorageSysteminstance will NOT yet be started.- Specified by:
createStorageSystemin interfaceStorageFoundation<F extends StorageFoundation.Default<?>>- Returns:
- a new
StorageSysteminstance.
-
-