Package one.microstream.storage.types
Class StorageEventLogger.Debug
- java.lang.Object
-
- one.microstream.storage.types.StorageEventLogger.Debug
-
- All Implemented Interfaces:
StorageEventLogger
- Enclosing interface:
- StorageEventLogger
public static class StorageEventLogger.Debug extends Object implements StorageEventLogger
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface one.microstream.storage.types.StorageEventLogger
StorageEventLogger.Debug, StorageEventLogger.NoOp
-
-
Constructor Summary
Constructors Constructor Description Debug()
-
Method Summary
Modifier and Type Method Description voidlog(String s)voidlogChannelProcessingDisabled(StorageChannel channel)voidlogChannelStoppedWorking(StorageChannel channel)voidlogDisruption(StorageChannel channel, Throwable t)Note that not all Throwables are Exceptions.voidlogGarbageCollectorCompleted(long gcColdGeneration, long lastGcColdCompletion)voidlogGarbageCollectorCompletedHotPhase(long gcHotGeneration, long lastGcHotCompletion)voidlogGarbageCollectorEncounteredZombieObjectId(long objectId)voidlogGarbageCollectorNotNeeded()voidlogGarbageCollectorSweepingComplete(StorageEntityCache<?> entityCache)voidlogLiveCheckComplete(StorageEntityCache<?> entityCache)static voidprintString(String s)static StringtoChannelIdentifier(StorageChannel channel)static StringtoChannelIdentifier(StorageEntityCache<?> entityCache)static StringtoChannelPartIdentifier(StorageHashChannelPart channelPart)
-
-
-
Method Detail
-
printString
public static void printString(String s)
-
toChannelIdentifier
public static String toChannelIdentifier(StorageChannel channel)
-
toChannelIdentifier
public static String toChannelIdentifier(StorageEntityCache<?> entityCache)
-
toChannelPartIdentifier
public static String toChannelPartIdentifier(StorageHashChannelPart channelPart)
-
log
public void log(String s)
-
logChannelProcessingDisabled
public void logChannelProcessingDisabled(StorageChannel channel)
- Specified by:
logChannelProcessingDisabledin interfaceStorageEventLogger
-
logChannelStoppedWorking
public void logChannelStoppedWorking(StorageChannel channel)
- Specified by:
logChannelStoppedWorkingin interfaceStorageEventLogger
-
logDisruption
public void logDisruption(StorageChannel channel, Throwable t)
Description copied from interface:StorageEventLoggerNote 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.- Specified by:
logDisruptionin interfaceStorageEventLogger
-
logLiveCheckComplete
public void logLiveCheckComplete(StorageEntityCache<?> entityCache)
- Specified by:
logLiveCheckCompletein interfaceStorageEventLogger
-
logGarbageCollectorSweepingComplete
public void logGarbageCollectorSweepingComplete(StorageEntityCache<?> entityCache)
- Specified by:
logGarbageCollectorSweepingCompletein interfaceStorageEventLogger
-
logGarbageCollectorEncounteredZombieObjectId
public void logGarbageCollectorEncounteredZombieObjectId(long objectId)
- Specified by:
logGarbageCollectorEncounteredZombieObjectIdin interfaceStorageEventLogger
-
logGarbageCollectorNotNeeded
public void logGarbageCollectorNotNeeded()
- Specified by:
logGarbageCollectorNotNeededin interfaceStorageEventLogger
-
logGarbageCollectorCompletedHotPhase
public void logGarbageCollectorCompletedHotPhase(long gcHotGeneration, long lastGcHotCompletion)- Specified by:
logGarbageCollectorCompletedHotPhasein interfaceStorageEventLogger
-
logGarbageCollectorCompleted
public void logGarbageCollectorCompleted(long gcColdGeneration, long lastGcColdCompletion)- Specified by:
logGarbageCollectorCompletedin interfaceStorageEventLogger
-
-