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)
-
-
-
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:
logChannelProcessingDisabled
in interfaceStorageEventLogger
-
logChannelStoppedWorking
public void logChannelStoppedWorking(StorageChannel channel)
- Specified by:
logChannelStoppedWorking
in interfaceStorageEventLogger
-
logDisruption
public void logDisruption(StorageChannel channel, Throwable t)
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
public void logLiveCheckComplete(StorageEntityCache<?> entityCache)
- Specified by:
logLiveCheckComplete
in interfaceStorageEventLogger
-
logGarbageCollectorSweepingComplete
public void logGarbageCollectorSweepingComplete(StorageEntityCache<?> entityCache)
- 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
-
-