Interface Configuration
- All Known Implementing Classes:
Configuration.Default
@Deprecated public interface Configuration
EmbeddedStorageConfigurationBuilder
, will be removed in a future release-
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.The backup directory.String
getBaseDirectory()
Deprecated.The base directory of the storage in the file system.int
getChannelCount()
Deprecated.The number of threads and number of directories used by the storage engine.String
getChannelDirectoryPrefix()
Deprecated.Name prefix of the subdirectories used by the channel threads.boolean
getDataFileCleanupHeadFile()
Deprecated.A flag defining wether the current head file (the only file actively written to) shall be subjected to file cleanups as well.default double
getDataFileDissolveRatio()
Deprecated.replaced bygetDataFileMinimumUseRatio()
, will be removed in a future releaseint
getDataFileMaximumSize()
Deprecated.Maximum file size for a data file to avoid cleaning it up.default int
getDataFileMaxSize()
Deprecated.replaced bygetDataFileMaximumSize()
, will be removed in a future releaseint
getDataFileMinimumSize()
Deprecated.Minimum file size for a data file to avoid cleaning it up.double
getDataFileMinimumUseRatio()
Deprecated.The ratio (value in ]0.0;1.0]) of non-gap data contained in a storage file to prevent the file from being dissolved.default int
getDataFileMinSize()
Deprecated.replaced bygetDataFileMinimumSize()
, will be removed in a future releaseString
getDataFilePrefix()
Deprecated.Name prefix of the storage files.String
getDataFileSuffix()
Deprecated.Name suffix of the storage files.String
getDeletionDirectory()
Deprecated.The deletion directory.long
getEntityCacheThreshold()
Deprecated.Abstract threshold value for the lifetime of entities in the cache.default long
getEntityCacheTimeout()
Deprecated.replaced bygetEntityCacheTimeoutMs()
, will be removed in a future releaselong
getEntityCacheTimeoutMs()
Deprecated.Timeout in milliseconds for the entity cache evaluator.default long
getHouseKeepingInterval()
Deprecated.replaced bygetHousekeepingIntervalMs()
, will be removed in a future releaselong
getHousekeepingIntervalMs()
Deprecated.Interval in milliseconds for the houskeeping.default long
getHouseKeepingNanoTimeBudget()
Deprecated.replaced bygetHousekeepingTimeBudgetNs()
, will be removed in a future releaselong
getHousekeepingTimeBudgetNs()
Deprecated.Number of nanoseconds used for each housekeeping cycle.String
getLockFileName()
Deprecated.String
getRescuedFileSuffix()
Deprecated.String
getTransactionFilePrefix()
Deprecated.Name prefix of the storage transaction file.String
getTransactionFileSuffix()
Deprecated.Name suffix of the storage transaction file.String
getTruncationDirectory()
Deprecated.The truncation directory.String
getTypeDictionaryFilename()
Deprecated.The name of the dictionary file.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.The backup directory.default Configuration
setBackupDirectoryInUserHome(String backupDirectoryInUserHome)
Deprecated.The backup directory.Configuration
setBaseDirectory(String baseDirectory)
Deprecated.The base directory of the storage in the file system.default Configuration
setBaseDirectoryInUserHome(String baseDirectoryInUserHome)
Deprecated.The base directory of the storage in the file system.Configuration
setChannelCount(int channelCount)
Deprecated.The number of threads and number of directories used by the storage engine.Configuration
setChannelDirectoryPrefix(String channelDirectoryPrefix)
Deprecated.Name prefix of the subdirectories used by the channel threads.Configuration
setDataFileCleanupHeadFile(boolean dataFileCleanupHeadFile)
Deprecated.A flag defining wether the current head file (the only file actively written to) shall be subjected to file cleanups as well.default Configuration
setDataFileDissolveRatio(double dataFileDissolveRatio)
Deprecated.replaced bysetDataFileMinimumUseRatio(double)
, will be removed in a future releaseConfiguration
setDataFileMaximumSize(int dataFileMaximumSize)
Deprecated.Maximum file size for a data file to avoid cleaning it up.default Configuration
setDataFileMaxSize(int dataFileMaxSize)
Deprecated.replaced bysetDataFileMaximumSize(int)
, will be removed in a future releaseConfiguration
setDataFileMinimumSize(int dataFileMinimumSize)
Deprecated.Minimum file size for a data file to avoid cleaning it up.Configuration
setDataFileMinimumUseRatio(double dataFileMinimumUseRatio)
Deprecated.The ratio (value in ]0.0;1.0]) of non-gap data contained in a storage file to prevent the file from being dissolved.default Configuration
setDataFileMinSize(int dataFileMinSize)
Deprecated.replaced bysetDataFileMinimumSize(int)
, will be removed in a future releaseConfiguration
setDataFilePrefix(String dataFilePrefix)
Deprecated.Name prefix of the storage files.Configuration
setDataFileSuffix(String dataFileSuffix)
Deprecated.Name suffix of the storage files.Configuration
setDeletionDirectory(String deletionDirectory)
Deprecated.The deletion directory.Configuration
setEntityCacheThreshold(long entityCacheThreshold)
Deprecated.Abstract threshold value for the lifetime of entities in the cache.default Configuration
setEntityCacheTimeout(long entityCacheTimeout)
Deprecated.replaced bysetEntityCacheTimeoutMs(long)
, will be removed in a future releaseConfiguration
setEntityCacheTimeoutMs(long entityCacheTimeoutMs)
Deprecated.Timeout in milliseconds for the entity cache evaluator.default Configuration
setHouseKeepingInterval(long houseKeepingInterval)
Deprecated.replaced bysetHousekeepingIntervalMs(long)
, will be removed in a future releaseConfiguration
setHousekeepingIntervalMs(long houseKeepingIntervalMs)
Deprecated.Interval in milliseconds for the houskeeping.default Configuration
setHouseKeepingNanoTimeBudget(long houseKeepingNanoTimeBudget)
Deprecated.replaced bysetHousekeepingTimeBudgetNs(long)
, will be removed in a future releaseConfiguration
setHousekeepingTimeBudgetNs(long housekeepingTimeBudgetNs)
Deprecated.Number of nanoseconds used for each housekeeping cycle.Configuration
setLockFileName(String lockFileName)
Deprecated.Configuration
setRescuedFileSuffix(String rescuedFileSuffix)
Deprecated.Configuration
setTransactionFilePrefix(String transactionFilePrefix)
Deprecated.Name prefix of the storage transaction file.Configuration
setTransactionFileSuffix(String transactionFileSuffix)
Deprecated.Name suffix of the storage transaction file.Configuration
setTruncationDirectory(String truncationDirectory)
Deprecated.The truncation directory.Configuration
setTypeDictionaryFilename(String typeDictionaryFilename)
Deprecated.The name of the dictionary file.
-
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.The base directory of the storage in the file system. -
setBaseDirectoryInUserHome
Deprecated.The base directory of the storage in the file system.- Parameters:
baseDirectoryInUserHome
- relative location in the user home directory
-
getBaseDirectory
String getBaseDirectory()Deprecated.The base directory of the storage in the file system. -
setDeletionDirectory
Deprecated.The deletion directory. -
getDeletionDirectory
String getDeletionDirectory()Deprecated.The deletion directory. -
setTruncationDirectory
Deprecated.The truncation directory. -
getTruncationDirectory
String getTruncationDirectory()Deprecated.The truncation directory. -
setBackupDirectory
Deprecated.The backup directory. -
setBackupDirectoryInUserHome
Deprecated.The backup directory.- Parameters:
backupDirectoryInUserHome
- relative location in the user home directory
-
getBackupDirectory
String getBackupDirectory()Deprecated.The backup directory. -
setChannelCount
Deprecated.The number of threads and number of directories used by the storage engine. Every thread has exclusive access to its directory. Default is1
.- Parameters:
channelCount
- the new channel count, must be a power of 2
-
getChannelCount
int getChannelCount()Deprecated.The number of threads and number of directories used by the storage engine. Every thread has exclusive access to its directory. -
setChannelDirectoryPrefix
Deprecated.Name prefix of the subdirectories used by the channel threads. Default is"channel_"
.- Parameters:
channelDirectoryPrefix
- new prefix
-
getChannelDirectoryPrefix
String getChannelDirectoryPrefix()Deprecated.Name prefix of the subdirectories used by the channel threads. -
setDataFilePrefix
Deprecated.Name prefix of the storage files. Default is"channel_"
.- Parameters:
dataFilePrefix
- new prefix
-
getDataFilePrefix
String getDataFilePrefix()Deprecated.Name prefix of the storage files. -
setDataFileSuffix
Deprecated.Name suffix of the storage files. Default is".dat"
.- Parameters:
dataFileSuffix
- new suffix
-
getDataFileSuffix
String getDataFileSuffix()Deprecated.Name suffix of the storage files. -
setTransactionFilePrefix
Deprecated.Name prefix of the storage transaction file. Default is"transactions_"
.- Parameters:
transactionFilePrefix
- new prefix
-
getTransactionFilePrefix
String getTransactionFilePrefix()Deprecated.Name prefix of the storage transaction file. -
setTransactionFileSuffix
Deprecated.Name suffix of the storage transaction file. Default is".sft"
.- Parameters:
transactionFileSuffix
- new suffix
-
getTransactionFileSuffix
String getTransactionFileSuffix()Deprecated.Name suffix of the storage transaction file. -
setTypeDictionaryFilename
Deprecated.The name of the dictionary file. Default is"PersistenceTypeDictionary.ptd"
.- Parameters:
typeDictionaryFilename
- new name
-
getTypeDictionaryFilename
String getTypeDictionaryFilename()Deprecated.The name of the dictionary file. -
setRescuedFileSuffix
Deprecated. -
getRescuedFileSuffix
String getRescuedFileSuffix()Deprecated. -
setLockFileName
Deprecated. -
getLockFileName
String getLockFileName()Deprecated. -
setHouseKeepingInterval
Deprecated.replaced bysetHousekeepingIntervalMs(long)
, will be removed in a future release -
setHousekeepingIntervalMs
Deprecated.Interval in milliseconds for the houskeeping. This is work like garbage collection or cache checking. In combination withsetHousekeepingTimeBudgetNs(long)
the maximum processor time for housekeeping work can be set. Default is1000
(every second).- Parameters:
houseKeepingIntervalMs
- the new interval- See Also:
setHousekeepingTimeBudgetNs(long)
-
getHouseKeepingInterval
Deprecated.replaced bygetHousekeepingIntervalMs()
, will be removed in a future release -
getHousekeepingIntervalMs
long getHousekeepingIntervalMs()Deprecated.Interval in milliseconds for the houskeeping. This is work like garbage collection or cache checking.- See Also:
getHousekeepingTimeBudgetNs()
-
setHouseKeepingNanoTimeBudget
Deprecated.replaced bysetHousekeepingTimeBudgetNs(long)
, will be removed in a future release -
setHousekeepingTimeBudgetNs
Deprecated.Number of nanoseconds used for each housekeeping cycle. However, no matter how low the number is, one item of work will always be completed. But if there is nothing to clean up, no processor time will be wasted. Default is10000000
(10 million nanoseconds = 10 milliseconds = 0.01 seconds).- Parameters:
housekeepingTimeBudgetNs
- the new time budget- See Also:
setHousekeepingIntervalMs(long)
-
getHouseKeepingNanoTimeBudget
Deprecated.replaced bygetHousekeepingTimeBudgetNs()
, will be removed in a future release -
getHousekeepingTimeBudgetNs
long getHousekeepingTimeBudgetNs()Deprecated.Number of nanoseconds used for each housekeeping cycle. However, no matter how low the number is, one item of work will always be completed. But if there is nothing to clean up, no processor time will be wasted.- See Also:
getHousekeepingIntervalMs()
-
setEntityCacheThreshold
Deprecated.Abstract threshold value for the lifetime of entities in the cache. SeeStorageEntityCacheEvaluator
. Default is1000000000
.- Parameters:
entityCacheThreshold
- the new threshold
-
getEntityCacheThreshold
long getEntityCacheThreshold()Deprecated.Abstract threshold value for the lifetime of entities in the cache. SeeStorageEntityCacheEvaluator
. -
setEntityCacheTimeout
Deprecated.replaced bysetEntityCacheTimeoutMs(long)
, will be removed in a future release -
setEntityCacheTimeoutMs
Deprecated.Timeout in milliseconds for the entity cache evaluator. If an entity wasn't accessed in this timespan it will be removed from the cache. Default is86400000
(1 day).- Parameters:
entityCacheTimeoutMs
-- See Also:
Duration
-
getEntityCacheTimeout
Deprecated.replaced bygetEntityCacheTimeoutMs()
, will be removed in a future release -
getEntityCacheTimeoutMs
long getEntityCacheTimeoutMs()Deprecated.Timeout in milliseconds for the entity cache evaluator. If an entity wasn't accessed in this timespan it will be removed from the cache. -
setDataFileMinSize
Deprecated.replaced bysetDataFileMinimumSize(int)
, will be removed in a future release -
setDataFileMinimumSize
Deprecated.Minimum file size for a data file to avoid cleaning it up. Default is 1024^2 = 1 MiB.- Parameters:
dataFileMinimumSize
- the new minimum file size- See Also:
setDataFileMinimumUseRatio(double)
-
getDataFileMinSize
Deprecated.replaced bygetDataFileMinimumSize()
, will be removed in a future release -
getDataFileMinimumSize
int getDataFileMinimumSize()Deprecated.Minimum file size for a data file to avoid cleaning it up.- See Also:
getDataFileMinimumUseRatio()
-
setDataFileMaxSize
Deprecated.replaced bysetDataFileMaximumSize(int)
, will be removed in a future release -
setDataFileMaximumSize
Deprecated.Maximum file size for a data file to avoid cleaning it up. Default is 1024^2*8 = 8 MiB.- Parameters:
dataFileMaximumSize
- the new maximum file size- See Also:
setDataFileMinimumUseRatio(double)
-
getDataFileMaxSize
Deprecated.replaced bygetDataFileMaximumSize()
, will be removed in a future release -
getDataFileMaximumSize
int getDataFileMaximumSize()Deprecated.Maximum file size for a data file to avoid cleaning it up.- See Also:
getDataFileMinimumUseRatio()
-
setDataFileDissolveRatio
Deprecated.replaced bysetDataFileMinimumUseRatio(double)
, will be removed in a future release -
setDataFileMinimumUseRatio
Deprecated.The ratio (value in ]0.0;1.0]) of non-gap data contained in a storage file to prevent the file from being dissolved. "Gap" data is anything that is not the latest version of an entity's data, inluding older versions of an entity and "comment" bytes (a sequence of bytes beginning with its length as a negative value length header).
The closer this value is to 1.0 (100%), the less disk space is occupied by storage files, but the more file dissolving (data transfers to new files) is required and vice versa.- Parameters:
dataFileMinimumUseRatio
- the new minimum use ratio
-
getDataFileDissolveRatio
Deprecated.replaced bygetDataFileMinimumUseRatio()
, will be removed in a future release -
getDataFileMinimumUseRatio
double getDataFileMinimumUseRatio()Deprecated.The ratio (value in ]0.0;1.0]) of non-gap data contained in a storage file to prevent the file from being dissolved. "Gap" data is anything that is not the latest version of an entity's data, inluding older versions of an entity and "comment" bytes (a sequence of bytes beginning with its length as a negative value length header).
The closer this value is to 1.0 (100%), the less disk space is occupied by storage files, but the more file dissolving (data transfers to new files) is required and vice versa. -
setDataFileCleanupHeadFile
Deprecated.A flag defining wether the current head file (the only file actively written to) shall be subjected to file cleanups as well.- Parameters:
dataFileCleanupHeadFile
-
-
getDataFileCleanupHeadFile
boolean getDataFileCleanupHeadFile()Deprecated.A flag defining wether the current head file (the only file actively written to) shall be subjected to file cleanups as well. -
Default
Deprecated.Creates a newConfiguration
with the default settings.
-