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 void
log(String s)
void
logChannelProcessingDisabled(StorageChannel channel)
void
logChannelStoppedWorking(StorageChannel channel)
void
logDisruption(StorageChannel channel, Throwable t)
Note that not all Throwables are Exceptions.void
logGarbageCollectorCompleted(long gcColdGeneration, long lastGcColdCompletion)
void
logGarbageCollectorCompletedHotPhase(long gcHotGeneration, long lastGcHotCompletion)
void
logGarbageCollectorEncounteredZombieObjectId(long objectId)
void
logGarbageCollectorNotNeeded()
void
logGarbageCollectorSweepingComplete(StorageEntityCache<?> entityCache)
void
logLiveCheckComplete(StorageEntityCache<?> entityCache)
static void
printString(String s)
static String
toChannelIdentifier(StorageChannel channel)
static String
toChannelIdentifier(StorageEntityCache<?> entityCache)
static String
toChannelPartIdentifier(StorageHashChannelPart channelPart)
-
Constructor Details
-
Debug
public Debug()
-
-
Method Details
-
printString
-
toChannelIdentifier
-
toChannelIdentifier
-
toChannelPartIdentifier
-
log
-
logChannelProcessingDisabled
- Specified by:
logChannelProcessingDisabled
in interfaceStorageEventLogger
-
logChannelStoppedWorking
- Specified by:
logChannelStoppedWorking
in interfaceStorageEventLogger
-
logDisruption
Description copied from interface:StorageEventLogger
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.- Specified by:
logDisruption
in interfaceStorageEventLogger
-
logLiveCheckComplete
- Specified by:
logLiveCheckComplete
in interfaceStorageEventLogger
-
logGarbageCollectorSweepingComplete
- Specified by:
logGarbageCollectorSweepingComplete
in interfaceStorageEventLogger
-
logGarbageCollectorEncounteredZombieObjectId
public void logGarbageCollectorEncounteredZombieObjectId(long objectId)- Specified by:
logGarbageCollectorEncounteredZombieObjectId
in interfaceStorageEventLogger
-
logGarbageCollectorNotNeeded
public void logGarbageCollectorNotNeeded()- Specified by:
logGarbageCollectorNotNeeded
in interfaceStorageEventLogger
-
logGarbageCollectorCompletedHotPhase
public void logGarbageCollectorCompletedHotPhase(long gcHotGeneration, long lastGcHotCompletion)- Specified by:
logGarbageCollectorCompletedHotPhase
in interfaceStorageEventLogger
-
logGarbageCollectorCompleted
public void logGarbageCollectorCompleted(long gcColdGeneration, long lastGcColdCompletion)- Specified by:
logGarbageCollectorCompleted
in interfaceStorageEventLogger
-