Package one.microstream.storage.types
Interface StorageDataFileEvaluator.Validation
- Enclosing interface:
- StorageDataFileEvaluator
public static interface StorageDataFileEvaluator.Validation
-
Method Summary
Static Methods Modifier and Type Method Description static int
maximumFileSize()
static int
minimumFileSize()
static int
minimumFileSizeRange()
How much the maximum file size must be above the minimum file size.static double
useRatioLowerBound()
static double
useRatioMaximum()
static void
validateParameters(int fileMinimumSize, int fileMaximumSize, double minimumUseRatio)
-
Method Details
-
minimumFileSize
static int minimumFileSize() -
maximumFileSize
static int maximumFileSize() -
minimumFileSizeRange
static int minimumFileSizeRange()How much the maximum file size must be above the minimum file size.- Returns:
- the minimum file size range
-
useRatioLowerBound
static double useRatioLowerBound() -
useRatioMaximum
static double useRatioMaximum() -
validateParameters
static void validateParameters(int fileMinimumSize, int fileMaximumSize, double minimumUseRatio)
-