public class Watcher extends WatcherData implements Runnable
logCurrentStatus() to produce a readable message as INFO and an encoded data as TRACE. It
conveniently implements Runnable for compliance with ScheduledExecutorService.DETAILED_MESSAGE_PREFIXclassLoading_loaded, classLoading_total, classLoading_unloaded, compilationTime, garbageCollector_count, garbageCollector_time, heap_commited, heap_max, heap_used, nonHeap_commited, nonHeap_max, nonHeap_used, objectPendingFinalizationCount, PROP_CLASS_LOADING, PROP_COMPILATION_TIME, PROP_FINALIZATION_COUNT, PROP_GARBAGE_COLLECTOR, PROP_HEAP, PROP_MEMORY, PROP_NON_HEAP, PROP_SYSTEM_LOAD, runtime_maxMemory, runtime_totalMemory, runtime_usedMemory, systemLoadEVENT_POSITION, EVENT_TIME, position, SESSION_UUID, sessionUuid, time| Modifier and Type | Method and Description |
|---|---|
void |
logCurrentStatus()
Logs about the current system status.
|
void |
run() |
readableStringBuildercollectManagedBeanStatus, collectPlatformStatus, collectRuntimeStatus, readJson5, resetImpl, writeJson5ImplencodedMessage, json5Message, readableMessage, reset, writeJson5public Watcher(String name)
name - Logger that reports messages.Copyright © 2010–2025. All rights reserved.