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 classStorageEventLogger.Debugstatic classStorageEventLogger.NoOp -
Method Summary
Modifier and Type Method Description static StorageEventLoggerDebug()static StorageEventLoggerDebug(Consumer<? super String> messageConsumer)default voidlogChannelProcessingDisabled(StorageChannel channel)default voidlogChannelStoppedWorking(StorageChannel channel)default voidlogDisruption(StorageChannel channel, Throwable t)Note that not all Throwables are Exceptions.default voidlogGarbageCollectorCompleted(long gcColdGeneration, long lastGcColdCompletion)default voidlogGarbageCollectorCompletedHotPhase(long gcHotGeneration, long lastGcHotCompletion)default voidlogGarbageCollectorEncounteredZombieObjectId(long objectId)default voidlogGarbageCollectorNotNeeded()default voidlogGarbageCollectorSweepingComplete(StorageEntityCache<?> entityCache)default voidlogLiveCheckComplete(StorageEntityCache<?> entityCache)static StorageEventLoggerNoOp()
-
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
-