Package one.microstream.storage.types
Class StorageHousekeepingController.Default
java.lang.Object
one.microstream.storage.types.StorageHousekeepingController.Default
- All Implemented Interfaces:
StorageHousekeepingController
- Enclosing interface:
- StorageHousekeepingController
public static final class StorageHousekeepingController.Default extends Object implements StorageHousekeepingController
-
Nested Class Summary
Nested classes/interfaces inherited from interface one.microstream.storage.types.StorageHousekeepingController
StorageHousekeepingController.Default, StorageHousekeepingController.Defaults, StorageHousekeepingController.Validation
-
Constructor Summary
Constructors Constructor Description Default()
-
Method Summary
Modifier and Type Method Description long
fileCheckTimeBudgetNs()
long
garbageCollectionTimeBudgetNs()
long
housekeepingIntervalMs()
long
housekeepingTimeBudgetNs()
long
liveCheckTimeBudgetNs()
String
toString()
-
Constructor Details
-
Default
public Default()
-
-
Method Details
-
housekeepingIntervalMs
public final long housekeepingIntervalMs()- Specified by:
housekeepingIntervalMs
in interfaceStorageHousekeepingController
- Returns:
- The housekeeping interval in milliseconds.
-
housekeepingTimeBudgetNs
public final long housekeepingTimeBudgetNs()- Specified by:
housekeepingTimeBudgetNs
in interfaceStorageHousekeepingController
- Returns:
- The general housekeeping time budget per interval in nanoseconds.
-
garbageCollectionTimeBudgetNs
public final long garbageCollectionTimeBudgetNs()- Specified by:
garbageCollectionTimeBudgetNs
in interfaceStorageHousekeepingController
- Returns:
- The garbage collection housekeeping time budget per interval in nanoseconds.
-
liveCheckTimeBudgetNs
public final long liveCheckTimeBudgetNs()- Specified by:
liveCheckTimeBudgetNs
in interfaceStorageHousekeepingController
- Returns:
- The live/cache check housekeeping time budget per interval in nanoseconds.
-
fileCheckTimeBudgetNs
public final long fileCheckTimeBudgetNs()- Specified by:
fileCheckTimeBudgetNs
in interfaceStorageHousekeepingController
- Returns:
- The file cleanup housekeeping time budget per interval in nanoseconds.
-
toString
-