Package one.microstream.storage.types
Interface StorageEventLogger
- All Known Implementing Classes:
StorageEventLogger.Debug
,StorageEventLogger.NoOp
public interface StorageEventLogger
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
StorageEventLogger.Debug
static class
StorageEventLogger.NoOp
-
Method Summary
Modifier and Type Method Description static StorageEventLogger
Debug()
static StorageEventLogger
Debug(Consumer<? super String> messageConsumer)
default void
logChannelProcessingDisabled(StorageChannel channel)
default void
logChannelStoppedWorking(StorageChannel channel)
default void
logDisruption(StorageChannel channel, Throwable t)
Note that not all Throwables are Exceptions.default void
logGarbageCollectorCompleted(long gcColdGeneration, long lastGcColdCompletion)
default void
logGarbageCollectorCompletedHotPhase(long gcHotGeneration, long lastGcHotCompletion)
default void
logGarbageCollectorEncounteredZombieObjectId(long objectId)
default void
logGarbageCollectorNotNeeded()
default void
logGarbageCollectorSweepingComplete(StorageEntityCache<?> entityCache)
default void
logLiveCheckComplete(StorageEntityCache<?> entityCache)
static StorageEventLogger
NoOp()
-
Method Details
-
logChannelProcessingDisabled
-
logChannelStoppedWorking
-
logDisruption
Note that not all Throwables are Exceptions. There are also Errors. And not all exceptions are problems. There are also program execution control vehicles likeInterruptedException
. The actually fitting common term is "Disruption". Throwable is a very low-level technical, compiler-oriented expression.- Parameters:
channel
-t
-
-
logLiveCheckComplete
-
logGarbageCollectorSweepingComplete
-
logGarbageCollectorNotNeeded
default void logGarbageCollectorNotNeeded() -
logGarbageCollectorCompletedHotPhase
default void logGarbageCollectorCompletedHotPhase(long gcHotGeneration, long lastGcHotCompletion) -
logGarbageCollectorCompleted
default void logGarbageCollectorCompleted(long gcColdGeneration, long lastGcColdCompletion) -
logGarbageCollectorEncounteredZombieObjectId
default void logGarbageCollectorEncounteredZombieObjectId(long objectId) -
NoOp
-
Debug
-
Debug
-