Package org.objectweb.howl.log
Class LogBufferManager.FlushManager
java.lang.Object
java.lang.Thread
org.objectweb.howl.log.LogBufferManager.FlushManager
- All Implemented Interfaces:
Runnable
- Enclosing class:
LogBufferManager
helper thread to flush buffers that have threads waiting
longer than configured maximum.
This thread is shut down by #close().
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Thread
Thread.Builder, Thread.State, Thread.UncaughtExceptionHandler
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) boolean
prevents FlushManager from flushing buffers when true.Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, isVirtual, join, join, join, join, ofPlatform, ofVirtual, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, sleep, start, startVirtualThread, stop, suspend, threadId, toString, yield
-
Field Details
-
isClosed
boolean isClosedprevents FlushManager from flushing buffers when true.Managed by setClosed() and tested by isClosed().
Initially true to prevent flush manager thread from doing anything while open processing is going on.
-
-
Constructor Details
-
FlushManager
FlushManager(String name)
-
-
Method Details