Package one.microstream.storage.types
Interface StorageLockFileSetup
-
- All Known Implementing Classes:
StorageLockFileSetup.Default
public interface StorageLockFileSetup
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
StorageLockFileSetup.Default
static interface
StorageLockFileSetup.Defaults
static interface
StorageLockFileSetup.Provider
-
Method Summary
Modifier and Type Method Description Charset
charset()
StorageFileProvider
lockFileProvider()
static StorageLockFileSetup
New(StorageFileProvider lockFileProvider, ProcessIdentityProvider processIdentityProvider)
static StorageLockFileSetup
New(StorageFileProvider lockFileProvider, ProcessIdentityProvider processIdentityProvider, Charset charset, long updateInterval)
String
processIdentity()
static StorageLockFileSetup.Provider
Provider()
Pseudo-constructor method to create a newStorageLockFileSetup.Provider
instance using default values specified byStorageLockFileSetup.Defaults
.static StorageLockFileSetup.Provider
Provider(long updateInterval)
Pseudo-constructor method to create a newStorageLockFileSetup.Provider
instance using the passed values and default values specified byStorageLockFileSetup.Defaults
.static StorageLockFileSetup.Provider
Provider(Charset charset)
Pseudo-constructor method to create a newStorageLockFileSetup.Provider
instance using the passed values and default values specified byStorageLockFileSetup.Defaults
.static StorageLockFileSetup.Provider
Provider(Charset charset, long updateInterval)
Pseudo-constructor method to create a newStorageLockFileSetup.Provider
instance using the passed values.long
updateInterval()
-
-
-
Method Detail
-
lockFileProvider
StorageFileProvider lockFileProvider()
-
charset
Charset charset()
-
processIdentity
String processIdentity()
-
updateInterval
long updateInterval()
-
New
static StorageLockFileSetup New(StorageFileProvider lockFileProvider, ProcessIdentityProvider processIdentityProvider)
-
New
static StorageLockFileSetup New(StorageFileProvider lockFileProvider, ProcessIdentityProvider processIdentityProvider, Charset charset, long updateInterval)
-
Provider
static StorageLockFileSetup.Provider Provider()
Pseudo-constructor method to create a newStorageLockFileSetup.Provider
instance using default values specified byStorageLockFileSetup.Defaults
.For explanations and customizing values, see {@link StorageLockFileSetup.Provider(Charset, long)}.
- Returns:
- a new
StorageLockFileSetup.Provider
instance. - See Also:
StorageLockFileSetup
-
Provider
static StorageLockFileSetup.Provider Provider(Charset charset)
Pseudo-constructor method to create a newStorageLockFileSetup.Provider
instance using the passed values and default values specified byStorageLockFileSetup.Defaults
.For explanations and customizing values, see
Provider(Charset,long)
.- Parameters:
charset
- theCharset
to be used for the lock file content.- Returns:
- a new
StorageLockFileSetup.Provider
instance. - See Also:
StorageLockFileSetup
-
Provider
static StorageLockFileSetup.Provider Provider(long updateInterval)
Pseudo-constructor method to create a newStorageLockFileSetup.Provider
instance using the passed values and default values specified byStorageLockFileSetup.Defaults
.For explanations and customizing values, see
Provider(Charset,long)
.- Parameters:
updateInterval
- the update interval in ms.- Returns:
- a new
StorageLockFileSetup.Provider
instance. - See Also:
StorageLockFileSetup
-
Provider
static StorageLockFileSetup.Provider Provider(Charset charset, long updateInterval)
Pseudo-constructor method to create a newStorageLockFileSetup.Provider
instance using the passed values.A
StorageLockFileSetup.Provider
instance created by this method provides newStorageLockFileSetup
instances that use the passed Charset and updateInterval.- Parameters:
charset
- theCharset
to be used for the lock file content.updateInterval
- the update interval in ms.- Returns:
- a new
StorageLockFileSetup.Provider
instance. - See Also:
StorageLockFileSetup
-
-