Package one.microstream.storage.types
Class StorageDataFileEvaluator.Default
java.lang.Object
one.microstream.storage.types.StorageDataFileEvaluator.Default
- All Implemented Interfaces:
StorageDataFileDissolvingEvaluator
,StorageDataFileEvaluator
- Enclosing interface:
- StorageDataFileEvaluator
public static final class StorageDataFileEvaluator.Default extends Object implements StorageDataFileEvaluator
-
Nested Class Summary
Nested classes/interfaces inherited from interface one.microstream.storage.types.StorageDataFileEvaluator
StorageDataFileEvaluator.Default, StorageDataFileEvaluator.Defaults, StorageDataFileEvaluator.Validation
-
Constructor Summary
Constructors Constructor Description Default()
-
Method Summary
Modifier and Type Method Description boolean
cleanupHeadFile()
int
fileMaximumSize()
int
fileMinimumSize()
double
minimumUseRatio()
boolean
needsDissolving(StorageLiveDataFile storageFile)
boolean
needsRetirement(long fileTotalLength)
String
toString()
-
Constructor Details
-
Default
public Default()
-
-
Method Details
-
fileMinimumSize
public final int fileMinimumSize()- Specified by:
fileMinimumSize
in interfaceStorageDataFileEvaluator
-
fileMaximumSize
public final int fileMaximumSize()- Specified by:
fileMaximumSize
in interfaceStorageDataFileEvaluator
-
minimumUseRatio
public double minimumUseRatio() -
cleanupHeadFile
public boolean cleanupHeadFile() -
needsDissolving
- Specified by:
needsDissolving
in interfaceStorageDataFileDissolvingEvaluator
- Specified by:
needsDissolving
in interfaceStorageDataFileEvaluator
-
needsRetirement
public final boolean needsRetirement(long fileTotalLength)- Specified by:
needsRetirement
in interfaceStorageDataFileEvaluator
-
toString
-