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 class
Configuration.Default
Deprecated. -
Method Summary
Modifier and Type Method Description default EmbeddedStorageFoundation<?>
createEmbeddedStorageFoundation()
Deprecated.Creates anEmbeddedStorageFoundation
based on the settings of thisConfiguration
.static Configuration
Default()
Deprecated.Creates a newConfiguration
with the default settings.static String
DefaultResourceName()
Deprecated.The default name of the storage configuration resource.default void
exportIni(File file)
Deprecated.Exports this configuration as a INI file.default void
exportIni(File file, Charset charset)
Deprecated.Exports this configuration as a INI file.default void
exportIni(OutputStream outputStream)
Deprecated.Exports this configuration as INI.default void
exportIni(OutputStream outputStream, Charset charset)
Deprecated.Exports this configuration as INI.default void
exportIni(URL url)
Deprecated.Exports this configuration as a INI file.default void
exportIni(URL url, Charset charset)
Deprecated.Exports this configuration as a INI file.default void
exportIni(Path path)
Deprecated.Exports this configuration as an INI file to the specified path.default void
exportIni(Path path, Charset charset)
Deprecated.Exports this configuration as an INI file to the specified path.default void
exportXml(File file)
Deprecated.Exports this configuration as a XML file.default void
exportXml(File file, Charset charset)
Deprecated.Exports this configuration as a XML file.default void
exportXml(OutputStream outputStream)
Deprecated.Exports this configuration as XML.default void
exportXml(OutputStream outputStream, Charset charset)
Deprecated.Exports this configuration as XML.default void
exportXml(URL url)
Deprecated.Exports this configuration as a XML file.default void
exportXml(URL url, Charset charset)
Deprecated.Exports this configuration as a XML file.default void
exportXml(Path path)
Deprecated.Exports this configuration as a XML file to the specified path.default void
exportXml(Path path, Charset charset)
Deprecated.Exports this configuration as a XML file to the specified path.String
getBackupDirectory()
Deprecated.String
getBaseDirectory()
Deprecated.int
getChannelCount()
Deprecated.String
getChannelDirectoryPrefix()
Deprecated.boolean
getDataFileCleanupHeadFile()
Deprecated.default double
getDataFileDissolveRatio()
Deprecated.int
getDataFileMaximumSize()
Deprecated.default int
getDataFileMaxSize()
Deprecated.int
getDataFileMinimumSize()
Deprecated.double
getDataFileMinimumUseRatio()
Deprecated.default int
getDataFileMinSize()
Deprecated.String
getDataFilePrefix()
Deprecated.String
getDataFileSuffix()
Deprecated.String
getDeletionDirectory()
Deprecated.long
getEntityCacheThreshold()
Deprecated.default long
getEntityCacheTimeout()
Deprecated.long
getEntityCacheTimeoutMs()
Deprecated.default long
getHouseKeepingInterval()
Deprecated.long
getHousekeepingIntervalMs()
Deprecated.default long
getHouseKeepingNanoTimeBudget()
Deprecated.long
getHousekeepingTimeBudgetNs()
Deprecated.String
getLockFileName()
Deprecated.String
getRescuedFileSuffix()
Deprecated.String
getTransactionFilePrefix()
Deprecated.String
getTransactionFileSuffix()
Deprecated.String
getTruncationDirectory()
Deprecated.String
getTypeDictionaryFilename()
Deprecated.static Configuration
Load()
Deprecated.replaced byEmbeddedStorageConfiguration.load()
static Configuration
Load(String path)
Deprecated.replaced byEmbeddedStorageConfiguration.load(String)
static Configuration
Load(String path, Charset charset)
Deprecated.static Configuration
Load(Charset charset)
Deprecated.replaced byEmbeddedStorageConfiguration.load(Charset)
static Configuration
LoadIni(File file)
Deprecated.Tries to load the configuration INI from the filefile
.static Configuration
LoadIni(File file, Charset charset)
Deprecated.Tries to load the configuration INI from the filefile
.static Configuration
LoadIni(InputStream inputStream)
Deprecated.Tries to load the configuration INI from theInputStream
inputStream
.static Configuration
LoadIni(InputStream inputStream, Charset charset)
Deprecated.Tries to load the configuration INI from theInputStream
inputStream
.static Configuration
LoadIni(String path)
Deprecated.Tries to load the configuration INI file frompath
.static Configuration
LoadIni(String path, Charset charset)
Deprecated.Tries to load the configuration INI file frompath
.static Configuration
LoadIni(URL url)
Deprecated.Tries to load the configuration INI from the URLurl
.static Configuration
LoadIni(URL url, Charset charset)
Deprecated.Tries to load the configuration INI from the URLurl
.static Configuration
LoadIni(Path path)
Deprecated.Tries to load the configuration INI file frompath
.static Configuration
LoadIni(Path path, Charset charset)
Deprecated.Tries to load the configuration INI file frompath
.static Configuration
LoadXml(File file)
Deprecated.Tries to load the configuration XML from the filefile
.static Configuration
LoadXml(File file, Charset charset)
Deprecated.Tries to load the configuration XML from the filefile
.static Configuration
LoadXml(InputStream inputStream)
Deprecated.Tries to load the configuration XML from theInputStream
inputStream
.static Configuration
LoadXml(InputStream inputStream, Charset charset)
Deprecated.Tries to load the configuration XML from theInputStream
inputStream
.static Configuration
LoadXml(String path)
Deprecated.Tries to load the configuration XML file frompath
.static Configuration
LoadXml(String path, Charset charset)
Deprecated.Tries to load the configuration XML file frompath
.static Configuration
LoadXml(URL url)
Deprecated.Tries to load the configuration XML from the URLurl
.static Configuration
LoadXml(URL url, Charset charset)
Deprecated.Tries to load the configuration XML from the URLurl
.static Configuration
LoadXml(Path path)
Deprecated.Tries to load the configuration XML file frompath
.static Configuration
LoadXml(Path path, Charset charset)
Deprecated.Tries to load the configuration XML file frompath
.static String
PathProperty()
Deprecated.The property name which is used to hand the external configuration file path to the application.Configuration
setBackupDirectory(String backupDirectory)
Deprecated.default Configuration
setBackupDirectoryInUserHome(String backupDirectoryInUserHome)
Deprecated.Configuration
setBaseDirectory(String baseDirectory)
Deprecated.default Configuration
setBaseDirectoryInUserHome(String baseDirectoryInUserHome)
Deprecated.Configuration
setChannelCount(int channelCount)
Deprecated.Configuration
setChannelDirectoryPrefix(String channelDirectoryPrefix)
Deprecated.Configuration
setDataFileCleanupHeadFile(boolean dataFileCleanupHeadFile)
Deprecated.default Configuration
setDataFileDissolveRatio(double dataFileDissolveRatio)
Deprecated.Configuration
setDataFileMaximumSize(int dataFileMaximumSize)
Deprecated.default Configuration
setDataFileMaxSize(int dataFileMaxSize)
Deprecated.Configuration
setDataFileMinimumSize(int dataFileMinimumSize)
Deprecated.Configuration
setDataFileMinimumUseRatio(double dataFileMinimumUseRatio)
Deprecated.default Configuration
setDataFileMinSize(int dataFileMinSize)
Deprecated.Configuration
setDataFilePrefix(String dataFilePrefix)
Deprecated.Configuration
setDataFileSuffix(String dataFileSuffix)
Deprecated.Configuration
setDeletionDirectory(String deletionDirectory)
Deprecated.Configuration
setEntityCacheThreshold(long entityCacheThreshold)
Deprecated.default Configuration
setEntityCacheTimeout(long entityCacheTimeout)
Deprecated.Configuration
setEntityCacheTimeoutMs(long entityCacheTimeoutMs)
Deprecated.default Configuration
setHouseKeepingInterval(long houseKeepingInterval)
Deprecated.Configuration
setHousekeepingIntervalMs(long houseKeepingIntervalMs)
Deprecated.default Configuration
setHouseKeepingNanoTimeBudget(long houseKeepingNanoTimeBudget)
Deprecated.Configuration
setHousekeepingTimeBudgetNs(long housekeepingTimeBudgetNs)
Deprecated.Configuration
setLockFileName(String lockFileName)
Deprecated.Configuration
setRescuedFileSuffix(String rescuedFileSuffix)
Deprecated.Configuration
setTransactionFilePrefix(String transactionFilePrefix)
Deprecated.Configuration
setTransactionFileSuffix(String transactionFileSuffix)
Deprecated.Configuration
setTruncationDirectory(String truncationDirectory)
Deprecated.Configuration
setTypeDictionaryFilename(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
null
if 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
null
if 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
null
if 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
null
if 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
null
if 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
null
if 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 theInputStream
inputStream
.Note that the given
inputStream
will 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 theInputStream
inputStream
.Note that the given
inputStream
will 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
null
if 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
null
if 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 theInputStream
inputStream
.Note that the given
inputStream
will 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 theInputStream
inputStream
.Note that the given
inputStream
will 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
outputStream
will 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
outputStream
will 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
outputStream
will 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
outputStream
will 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 anEmbeddedStorageFoundation
based 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 newConfiguration
with the default settings.
-