Package one.microstream.storage.types
Interface StorageStructureValidator
-
- All Known Implementing Classes:
StorageStructureValidator.Default
public interface StorageStructureValidatorRun validation(s) of the storage before starting the storage system. Those are - number of channel directories must match the configured channel count if there are any channel directories - all channel directories must contain at least on data file
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classStorageStructureValidator.Default
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static StorageStructureValidatorNew(StorageLiveFileProvider fileProvider, StorageChannelCountProvider channelCountProvider)voidvalidate()run the validations.
-
-
-
Method Detail
-
validate
void validate()
run the validations. Throws StorageStructureValidationException in case of problems
-
New
static StorageStructureValidator New(StorageLiveFileProvider fileProvider, StorageChannelCountProvider channelCountProvider)
-
-