Interface Configuration
- All Known Implementing Classes:
Configuration.Default
@Deprecated public interface Configuration
EmbeddedStorageConfigurationBuilder, will be removed in version 8-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classConfiguration.DefaultDeprecated. -
Method Summary
Modifier and Type Method Description default EmbeddedStorageFoundation<?>createEmbeddedStorageFoundation()Deprecated.Creates anEmbeddedStorageFoundationbased on the settings of thisConfiguration.static ConfigurationDefault()Deprecated.Creates a newConfigurationwith the default settings.static StringDefaultResourceName()Deprecated.The default name of the storage configuration resource.default voidexportIni(File file)Deprecated.Exports this configuration as a INI file.default voidexportIni(File file, Charset charset)Deprecated.Exports this configuration as a INI file.default voidexportIni(OutputStream outputStream)Deprecated.Exports this configuration as INI.default voidexportIni(OutputStream outputStream, Charset charset)Deprecated.Exports this configuration as INI.default voidexportIni(URL url)Deprecated.Exports this configuration as a INI file.default voidexportIni(URL url, Charset charset)Deprecated.Exports this configuration as a INI file.default voidexportIni(Path path)Deprecated.Exports this configuration as an INI file to the specified path.default voidexportIni(Path path, Charset charset)Deprecated.Exports this configuration as an INI file to the specified path.default voidexportXml(File file)Deprecated.Exports this configuration as a XML file.default voidexportXml(File file, Charset charset)Deprecated.Exports this configuration as a XML file.default voidexportXml(OutputStream outputStream)Deprecated.Exports this configuration as XML.default voidexportXml(OutputStream outputStream, Charset charset)Deprecated.Exports this configuration as XML.default voidexportXml(URL url)Deprecated.Exports this configuration as a XML file.default voidexportXml(URL url, Charset charset)Deprecated.Exports this configuration as a XML file.default voidexportXml(Path path)Deprecated.Exports this configuration as a XML file to the specified path.default voidexportXml(Path path, Charset charset)Deprecated.Exports this configuration as a XML file to the specified path.StringgetBackupDirectory()Deprecated.StringgetBaseDirectory()Deprecated.intgetChannelCount()Deprecated.StringgetChannelDirectoryPrefix()Deprecated.booleangetDataFileCleanupHeadFile()Deprecated.default doublegetDataFileDissolveRatio()Deprecated.intgetDataFileMaximumSize()Deprecated.default intgetDataFileMaxSize()Deprecated.intgetDataFileMinimumSize()Deprecated.doublegetDataFileMinimumUseRatio()Deprecated.default intgetDataFileMinSize()Deprecated.StringgetDataFilePrefix()Deprecated.StringgetDataFileSuffix()Deprecated.StringgetDeletionDirectory()Deprecated.longgetEntityCacheThreshold()Deprecated.default longgetEntityCacheTimeout()Deprecated.longgetEntityCacheTimeoutMs()Deprecated.default longgetHouseKeepingInterval()Deprecated.longgetHousekeepingIntervalMs()Deprecated.default longgetHouseKeepingNanoTimeBudget()Deprecated.longgetHousekeepingTimeBudgetNs()Deprecated.StringgetLockFileName()Deprecated.StringgetRescuedFileSuffix()Deprecated.StringgetTransactionFilePrefix()Deprecated.StringgetTransactionFileSuffix()Deprecated.StringgetTruncationDirectory()Deprecated.StringgetTypeDictionaryFilename()Deprecated.static ConfigurationLoad()Deprecated.replaced byEmbeddedStorageConfiguration.load()static ConfigurationLoad(String path)Deprecated.replaced byEmbeddedStorageConfiguration.load(String)static ConfigurationLoad(String path, Charset charset)Deprecated.static ConfigurationLoad(Charset charset)Deprecated.replaced byEmbeddedStorageConfiguration.load(Charset)static ConfigurationLoadIni(File file)Deprecated.Tries to load the configuration INI from the filefile.static ConfigurationLoadIni(File file, Charset charset)Deprecated.Tries to load the configuration INI from the filefile.static ConfigurationLoadIni(InputStream inputStream)Deprecated.Tries to load the configuration INI from theInputStreaminputStream.static ConfigurationLoadIni(InputStream inputStream, Charset charset)Deprecated.Tries to load the configuration INI from theInputStreaminputStream.static ConfigurationLoadIni(String path)Deprecated.Tries to load the configuration INI file frompath.static ConfigurationLoadIni(String path, Charset charset)Deprecated.Tries to load the configuration INI file frompath.static ConfigurationLoadIni(URL url)Deprecated.Tries to load the configuration INI from the URLurl.static ConfigurationLoadIni(URL url, Charset charset)Deprecated.Tries to load the configuration INI from the URLurl.static ConfigurationLoadIni(Path path)Deprecated.Tries to load the configuration INI file frompath.static ConfigurationLoadIni(Path path, Charset charset)Deprecated.Tries to load the configuration INI file frompath.static ConfigurationLoadXml(File file)Deprecated.Tries to load the configuration XML from the filefile.static ConfigurationLoadXml(File file, Charset charset)Deprecated.Tries to load the configuration XML from the filefile.static ConfigurationLoadXml(InputStream inputStream)Deprecated.Tries to load the configuration XML from theInputStreaminputStream.static ConfigurationLoadXml(InputStream inputStream, Charset charset)Deprecated.Tries to load the configuration XML from theInputStreaminputStream.static ConfigurationLoadXml(String path)Deprecated.Tries to load the configuration XML file frompath.static ConfigurationLoadXml(String path, Charset charset)Deprecated.Tries to load the configuration XML file frompath.static ConfigurationLoadXml(URL url)Deprecated.Tries to load the configuration XML from the URLurl.static ConfigurationLoadXml(URL url, Charset charset)Deprecated.Tries to load the configuration XML from the URLurl.static ConfigurationLoadXml(Path path)Deprecated.Tries to load the configuration XML file frompath.static ConfigurationLoadXml(Path path, Charset charset)Deprecated.Tries to load the configuration XML file frompath.static StringPathProperty()Deprecated.The property name which is used to hand the external configuration file path to the application.ConfigurationsetBackupDirectory(String backupDirectory)Deprecated.default ConfigurationsetBackupDirectoryInUserHome(String backupDirectoryInUserHome)Deprecated.ConfigurationsetBaseDirectory(String baseDirectory)Deprecated.default ConfigurationsetBaseDirectoryInUserHome(String baseDirectoryInUserHome)Deprecated.ConfigurationsetChannelCount(int channelCount)Deprecated.ConfigurationsetChannelDirectoryPrefix(String channelDirectoryPrefix)Deprecated.ConfigurationsetDataFileCleanupHeadFile(boolean dataFileCleanupHeadFile)Deprecated.default ConfigurationsetDataFileDissolveRatio(double dataFileDissolveRatio)Deprecated.ConfigurationsetDataFileMaximumSize(int dataFileMaximumSize)Deprecated.default ConfigurationsetDataFileMaxSize(int dataFileMaxSize)Deprecated.ConfigurationsetDataFileMinimumSize(int dataFileMinimumSize)Deprecated.ConfigurationsetDataFileMinimumUseRatio(double dataFileMinimumUseRatio)Deprecated.default ConfigurationsetDataFileMinSize(int dataFileMinSize)Deprecated.ConfigurationsetDataFilePrefix(String dataFilePrefix)Deprecated.ConfigurationsetDataFileSuffix(String dataFileSuffix)Deprecated.ConfigurationsetDeletionDirectory(String deletionDirectory)Deprecated.ConfigurationsetEntityCacheThreshold(long entityCacheThreshold)Deprecated.default ConfigurationsetEntityCacheTimeout(long entityCacheTimeout)Deprecated.ConfigurationsetEntityCacheTimeoutMs(long entityCacheTimeoutMs)Deprecated.default ConfigurationsetHouseKeepingInterval(long houseKeepingInterval)Deprecated.ConfigurationsetHousekeepingIntervalMs(long houseKeepingIntervalMs)Deprecated.default ConfigurationsetHouseKeepingNanoTimeBudget(long houseKeepingNanoTimeBudget)Deprecated.ConfigurationsetHousekeepingTimeBudgetNs(long housekeepingTimeBudgetNs)Deprecated.ConfigurationsetLockFileName(String lockFileName)Deprecated.ConfigurationsetRescuedFileSuffix(String rescuedFileSuffix)Deprecated.ConfigurationsetTransactionFilePrefix(String transactionFilePrefix)Deprecated.ConfigurationsetTransactionFileSuffix(String transactionFileSuffix)Deprecated.ConfigurationsetTruncationDirectory(String truncationDirectory)Deprecated.ConfigurationsetTypeDictionaryFilename(String typeDictionaryFilename)Deprecated.
-
Method Details
-
PathProperty
Deprecated.The property name which is used to hand the external configuration file path to the application.Either as system property or in the context's configuration, e.g. Spring's application.properties.
- Returns:
- "microstream.storage.configuration.path"
-
DefaultResourceName
Deprecated.The default name of the storage configuration resource.- Returns:
- "microstream-storage.properties"
- See Also:
Load()
-
Load
Deprecated.replaced byEmbeddedStorageConfiguration.load()Tries to load the default configuration properties file.The search order is as follows:
- The path set in the system property "microstream.storage.configuration.path"
- The file named "microstream-storage.properties" in
- The classpath
- The application's directory
- The user home directory
- Returns:
- the loaded configuration or
nullif none was found - See Also:
PathProperty(),DefaultResourceName()
-
Load
Deprecated.replaced byEmbeddedStorageConfiguration.load(Charset)Tries to load the default configuration properties file.The search order is as follows:
- The path set in the system property "microstream.storage.configuration.path"
- The file named "microstream-storage.properties" in
- The classpath
- The application's directory
- The user home directory
- Parameters:
charset- the charset used to load the configuration- Returns:
- the loaded configuration or
nullif none was found - See Also:
PathProperty(),DefaultResourceName()
-
Load
Deprecated.replaced byEmbeddedStorageConfiguration.load(String)Tries to load the configuration file frompath. Depending on the file suffix either the XML or the INI loader is used.The load order is as follows:
- The classpath
- As an URL
- As a file
- Parameters:
path- a classpath resource, a file path or an URL- Returns:
- the configuration or
nullif none was found
-
Load
Deprecated.Tries to load the configuration file frompath. Depending on the file suffix either the XML or the INI loader is used.The load order is as follows:
- The classpath
- As an URL
- As a file
- Parameters:
path- a classpath resource, a file path or an URLcharset- the charset used to load the configuration- Returns:
- the configuration or
nullif none was found
-
LoadIni
Deprecated.Tries to load the configuration INI file frompath.The load order is as follows:
- The classpath
- As an URL
- As a file
- Parameters:
path- a classpath resource, a file path or an URL- Returns:
- the configuration or
nullif none was found
-
LoadIni
Deprecated.Tries to load the configuration INI file frompath.The load order is as follows:
- The classpath
- As an URL
- As a file
- Parameters:
path- a classpath resource, a file path or an URLcharset- the charset used to load the configuration- Returns:
- the configuration or
nullif none was found
-
LoadIni
Deprecated.Tries to load the configuration INI file frompath.- Parameters:
path- file system path- Returns:
- the configuration
- Throws:
StorageConfigurationException- if the configuration couldn't be loaded
-
LoadIni
Deprecated.Tries to load the configuration INI file frompath.- Parameters:
path- file system pathcharset- the charset used to load the configuration- Returns:
- the configuration
- Throws:
StorageConfigurationException- if the configuration couldn't be loaded
-
LoadIni
Deprecated.Tries to load the configuration INI from the filefile.- Parameters:
file- file path- Returns:
- the configuration
- Throws:
StorageConfigurationException- if the configuration couldn't be loaded
-
LoadIni
Deprecated.Tries to load the configuration INI from the filefile.- Parameters:
file- file pathcharset- the charset used to load the configuration- Returns:
- the configuration
- Throws:
StorageConfigurationException- if the configuration couldn't be loaded
-
LoadIni
Deprecated.Tries to load the configuration INI from the URLurl.- Parameters:
url- URL path- Returns:
- the configuration
- Throws:
StorageConfigurationException- if the configuration couldn't be loaded
-
LoadIni
Deprecated.Tries to load the configuration INI from the URLurl.- Parameters:
url- URL pathcharset- the charset used to load the configuration- Returns:
- the configuration
- Throws:
StorageConfigurationException- if the configuration couldn't be loaded
-
LoadIni
Deprecated.Tries to load the configuration INI from theInputStreaminputStream.Note that the given
inputStreamwill not be closed by this method.- Parameters:
inputStream- the stream to read from- Returns:
- the configuration
- Throws:
StorageConfigurationException- if the configuration couldn't be loaded
-
LoadIni
Deprecated.Tries to load the configuration INI from theInputStreaminputStream.Note that the given
inputStreamwill not be closed by this method.- Parameters:
inputStream- the stream to read fromcharset- the charset used to load the configuration- Returns:
- the configuration
- Throws:
StorageConfigurationException- if the configuration couldn't be loaded
-
LoadXml
Deprecated.Tries to load the configuration XML file frompath.The load order is as follows:
- The classpath
- As an URL
- As a file
- Parameters:
path- a classpath resource, a file path or an URL- Returns:
- the configuration or
nullif none was found
-
LoadXml
Deprecated.Tries to load the configuration XML file frompath.The load order is as follows:
- The classpath
- As an URL
- As a file
- Parameters:
path- a classpath resource, a file path or an URLcharset- the charset used to load the configuration- Returns:
- the configuration or
nullif none was found
-
LoadXml
Deprecated.Tries to load the configuration XML file frompath.- Parameters:
path- file system path- Returns:
- the configuration
- Throws:
StorageConfigurationException- if the configuration couldn't be loaded
-
LoadXml
Deprecated.Tries to load the configuration XML file frompath.- Parameters:
path- file system pathcharset- the charset used to load the configuration- Returns:
- the configuration
- Throws:
StorageConfigurationException- if the configuration couldn't be loaded
-
LoadXml
Deprecated.Tries to load the configuration XML from the filefile.- Parameters:
file- file path- Returns:
- the configuration
- Throws:
StorageConfigurationException- if the configuration couldn't be loaded
-
LoadXml
Deprecated.Tries to load the configuration XML from the filefile.- Parameters:
file- file pathcharset- the charset used to load the configuration- Returns:
- the configuration
- Throws:
StorageConfigurationException- if the configuration couldn't be loaded
-
LoadXml
Deprecated.Tries to load the configuration XML from the URLurl.- Parameters:
url- URL path- Returns:
- the configuration
- Throws:
StorageConfigurationException- if the configuration couldn't be loaded
-
LoadXml
Deprecated.Tries to load the configuration XML from the URLurl.- Parameters:
url- URL pathcharset- the charset used to load the configuration- Returns:
- the configuration
- Throws:
StorageConfigurationException- if the configuration couldn't be loaded
-
LoadXml
Deprecated.Tries to load the configuration XML from theInputStreaminputStream.Note that the given
inputStreamwill not be closed by this method.- Parameters:
inputStream- the stream to read from- Returns:
- the configuration
- Throws:
StorageConfigurationException- if the configuration couldn't be loaded
-
LoadXml
Deprecated.Tries to load the configuration XML from theInputStreaminputStream.Note that the given
inputStreamwill not be closed by this method.- Parameters:
inputStream- the stream to read fromcharset- the charset used to load the configuration- Returns:
- the configuration
- Throws:
StorageConfigurationException- if the configuration couldn't be loaded
-
exportXml
Deprecated.Exports this configuration as XML.Note that the given
outputStreamwill not be closed by this method.- Parameters:
outputStream- the outputStream to write to- Since:
- 3.1
-
exportXml
Deprecated.Exports this configuration as XML.Note that the given
outputStreamwill not be closed by this method.- Parameters:
outputStream- the outputStream to write tocharset- the charset used to export the configuration- Since:
- 3.1
-
exportXml
Deprecated.Exports this configuration as a XML file to the specified path.- Parameters:
path- the path to write to- Since:
- 3.1
-
exportXml
Deprecated.Exports this configuration as a XML file to the specified path.- Parameters:
path- the path to write tocharset- the charset used to export the configuration- Since:
- 3.1
-
exportXml
Deprecated.Exports this configuration as a XML file.- Parameters:
file- the file to write to- Since:
- 3.1
-
exportXml
Deprecated.Exports this configuration as a XML file.- Parameters:
file- the file to write tocharset- the charset used to export the configuration- Since:
- 3.1
-
exportXml
Deprecated.Exports this configuration as a XML file.- Parameters:
url- the URL to write to- Since:
- 3.1
-
exportXml
Deprecated.Exports this configuration as a XML file.- Parameters:
url- the URL to write tocharset- the charset used to export the configuration- Since:
- 3.1
-
exportIni
Deprecated.Exports this configuration as INI.Note that the given
outputStreamwill not be closed by this method.- Parameters:
outputStream- the outputStream to write to- Since:
- 3.1
-
exportIni
Deprecated.Exports this configuration as INI.Note that the given
outputStreamwill not be closed by this method.- Parameters:
outputStream- the outputStream to write tocharset- the charset used to export the configuration- Since:
- 3.1
-
exportIni
Deprecated.Exports this configuration as an INI file to the specified path.- Parameters:
path- the path to write to- Since:
- 3.1
-
exportIni
Deprecated.Exports this configuration as an INI file to the specified path.- Parameters:
path- the path to write tocharset- the charset used to export the configuration- Since:
- 3.1
-
exportIni
Deprecated.Exports this configuration as a INI file.- Parameters:
file- the file to write to- Since:
- 3.1
-
exportIni
Deprecated.Exports this configuration as a INI file.- Parameters:
file- the file to write tocharset- the charset used to export the configuration- Since:
- 3.1
-
exportIni
Deprecated.Exports this configuration as a INI file.- Parameters:
url- the URL to write to- Since:
- 3.1
-
exportIni
Deprecated.Exports this configuration as a INI file.- Parameters:
url- the URL to write tocharset- the charset used to export the configuration- Since:
- 3.1
-
createEmbeddedStorageFoundation
Deprecated.Creates anEmbeddedStorageFoundationbased on the settings of thisConfiguration.- Returns:
- an
EmbeddedStorageFoundation - See Also:
EmbeddedStorageFoundationCreator
-
setBaseDirectory
Deprecated. -
setBaseDirectoryInUserHome
Deprecated. -
getBaseDirectory
String getBaseDirectory()Deprecated. -
setDeletionDirectory
Deprecated. -
getDeletionDirectory
String getDeletionDirectory()Deprecated. -
setTruncationDirectory
Deprecated. -
getTruncationDirectory
String getTruncationDirectory()Deprecated. -
setBackupDirectory
Deprecated. -
setBackupDirectoryInUserHome
Deprecated. -
getBackupDirectory
String getBackupDirectory()Deprecated. -
setChannelCount
Deprecated. -
getChannelCount
int getChannelCount()Deprecated. -
setChannelDirectoryPrefix
Deprecated. -
getChannelDirectoryPrefix
String getChannelDirectoryPrefix()Deprecated. -
setDataFilePrefix
Deprecated. -
getDataFilePrefix
String getDataFilePrefix()Deprecated. -
setDataFileSuffix
Deprecated. -
getDataFileSuffix
String getDataFileSuffix()Deprecated. -
setTransactionFilePrefix
Deprecated. -
getTransactionFilePrefix
String getTransactionFilePrefix()Deprecated. -
setTransactionFileSuffix
Deprecated. -
getTransactionFileSuffix
String getTransactionFileSuffix()Deprecated. -
setTypeDictionaryFilename
Deprecated. -
getTypeDictionaryFilename
String getTypeDictionaryFilename()Deprecated. -
setRescuedFileSuffix
Deprecated. -
getRescuedFileSuffix
String getRescuedFileSuffix()Deprecated. -
setLockFileName
Deprecated. -
getLockFileName
String getLockFileName()Deprecated. -
setHouseKeepingInterval
Deprecated. -
setHousekeepingIntervalMs
Deprecated. -
getHouseKeepingInterval
default long getHouseKeepingInterval()Deprecated. -
getHousekeepingIntervalMs
long getHousekeepingIntervalMs()Deprecated. -
setHouseKeepingNanoTimeBudget
Deprecated. -
setHousekeepingTimeBudgetNs
Deprecated. -
getHouseKeepingNanoTimeBudget
default long getHouseKeepingNanoTimeBudget()Deprecated. -
getHousekeepingTimeBudgetNs
long getHousekeepingTimeBudgetNs()Deprecated. -
setEntityCacheThreshold
Deprecated. -
getEntityCacheThreshold
long getEntityCacheThreshold()Deprecated. -
setEntityCacheTimeout
Deprecated. -
setEntityCacheTimeoutMs
Deprecated. -
getEntityCacheTimeout
Deprecated. -
getEntityCacheTimeoutMs
long getEntityCacheTimeoutMs()Deprecated. -
setDataFileMinSize
Deprecated. -
setDataFileMinimumSize
Deprecated. -
getDataFileMinSize
Deprecated. -
getDataFileMinimumSize
int getDataFileMinimumSize()Deprecated. -
setDataFileMaxSize
Deprecated. -
setDataFileMaximumSize
Deprecated. -
getDataFileMaxSize
Deprecated. -
getDataFileMaximumSize
int getDataFileMaximumSize()Deprecated. -
setDataFileDissolveRatio
Deprecated. -
setDataFileMinimumUseRatio
Deprecated. -
getDataFileDissolveRatio
Deprecated. -
getDataFileMinimumUseRatio
double getDataFileMinimumUseRatio()Deprecated. -
setDataFileCleanupHeadFile
Deprecated. -
getDataFileCleanupHeadFile
boolean getDataFileCleanupHeadFile()Deprecated. -
Default
Deprecated.Creates a newConfigurationwith the default settings.
-