public class AppenderExecutors extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_MAX_FLUSH_TIME |
static int |
DEFAULT_THREAD_POOL_SIZE |
| Modifier and Type | Method and Description |
|---|---|
static void |
awaitLatch(ch.qos.logback.core.Appender<?> appender,
CountDownLatch latch,
long waitMillis) |
static ExecutorService |
newExecutor(ch.qos.logback.core.Appender<?> appender,
int threadPoolSize) |
static void |
shutdown(ch.qos.logback.core.Appender<?> appender,
ExecutorService executor,
long waitMillis) |
public static final int DEFAULT_THREAD_POOL_SIZE
public static final int DEFAULT_MAX_FLUSH_TIME
public static ExecutorService newExecutor(ch.qos.logback.core.Appender<?> appender, int threadPoolSize)
public static void shutdown(ch.qos.logback.core.Appender<?> appender,
ExecutorService executor,
long waitMillis)
public static void awaitLatch(ch.qos.logback.core.Appender<?> appender,
CountDownLatch latch,
long waitMillis)
Copyright © 2014–2017. All rights reserved.