org.perf.log.logger
Class AsyncLoggerWorkerThreadAbstract
java.lang.Object
org.perf.log.logger.AsyncLoggerWorkerThreadAbstract
- Direct Known Subclasses:
- CommonJAsyncLoggerWorkerThread, WasWmAsyncLoggerWorkerThread
public abstract class AsyncLoggerWorkerThreadAbstract
- extends java.lang.Object
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOGGER_ASYNC_THREAD_LOGGER_MIN_FLUSH_THRESHOLD
public static final java.lang.String LOGGER_ASYNC_THREAD_LOGGER_MIN_FLUSH_THRESHOLD
- See Also:
- Constant Field Values
LOGGER_ASYNC_THREAD_LOGGER_THREAD_SLEEP_TIME_IN_MILLIS
public static final java.lang.String LOGGER_ASYNC_THREAD_LOGGER_THREAD_SLEEP_TIME_IN_MILLIS
- See Also:
- Constant Field Values
LOGGER_ASYNC_THREAD_LOGGER_PRINT_STAT_TIME_INTERVAL_IN_MILLIS
public static final java.lang.String LOGGER_ASYNC_THREAD_LOGGER_PRINT_STAT_TIME_INTERVAL_IN_MILLIS
- See Also:
- Constant Field Values
AsyncLoggerWorkerThreadAbstract
public AsyncLoggerWorkerThreadAbstract(java.lang.String asyncLogTaskName,
java.util.concurrent.LinkedBlockingQueue<PerfLogData> logQueue,
LogQueueMetricTracker logQueueMetricTracker)
release
public void release()
run
public void run()
getMinFlushThreshold
public static int getMinFlushThreshold()
- Returns:
- the minFlushThreshold
getThreadSleepTimeInMillis
public static long getThreadSleepTimeInMillis()
- Returns:
- the threadSleepTimeInMillis
getPrintStatTimeIntervalInMillis
public static long getPrintStatTimeIntervalInMillis()
- Returns:
- the printStatTimeIntervalInMillis
setMinFlushThreshold
public static void setMinFlushThreshold(int minFlushThreshold)
- Parameters:
minFlushThreshold
- the minFlushThreshold to set
setThreadSleepTimeInMillis
public static void setThreadSleepTimeInMillis(long threadSleepTimeInMillis)
- Parameters:
threadSleepTimeInMillis
- the threadSleepTimeInMillis to set
setPrintStatTimeIntervalInMillis
public static void setPrintStatTimeIntervalInMillis(long printStatTimeIntervalInMillis)
- Parameters:
printStatTimeIntervalInMillis
- the printStatTimeIntervalInMillis to set
isDaemon
public boolean isDaemon()