public class AsyncHandler
extends java.util.logging.Handler
Modifier and Type | Class and Description |
---|---|
protected static class |
AsyncHandler.LogEntry |
Modifier and Type | Field and Description |
---|---|
protected boolean |
closed |
Constructor and Description |
---|
AsyncHandler(java.util.logging.Handler handler) |
AsyncHandler(java.util.logging.Handler handler,
int milliSec,
int bufferSize) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
flush() |
int |
getBufferSize() |
int |
getLoggingInterval() |
static boolean |
isDebugMode() |
void |
publish(java.util.logging.LogRecord record) |
void |
setBufferSize(int bufferSize) |
static void |
setDebugMode(boolean debugMode) |
void |
setLoggingInterval(int loggingInterval) |
void |
startAsyncService() |
protected void |
swapList() |
public AsyncHandler(java.util.logging.Handler handler)
public AsyncHandler(java.util.logging.Handler handler, int milliSec, int bufferSize)
public int getBufferSize()
public void setBufferSize(int bufferSize)
public int getLoggingInterval()
public void setLoggingInterval(int loggingInterval)
public static boolean isDebugMode()
public static void setDebugMode(boolean debugMode)
public void close() throws java.lang.SecurityException
close
in class java.util.logging.Handler
java.lang.SecurityException
public void flush()
flush
in class java.util.logging.Handler
public void publish(java.util.logging.LogRecord record)
publish
in class java.util.logging.Handler
public void startAsyncService()
protected void swapList()
Copyright © 2003-2014 QuickServer.org