Constructor and Description |
---|
RingBufferLogHandler()
Deprecated.
|
RingBufferLogHandler(int ringSize) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
void |
close() |
void |
flush() |
static int |
getDefaultRingBufferSize() |
List<LogRecord> |
getView()
Returns the list view of
LogRecord s in the ring buffer. |
void |
publish(LogRecord record) |
getEncoding, getErrorManager, getFilter, getFormatter, getLevel, isLoggable, reportError, setEncoding, setErrorManager, setFilter, setFormatter, setLevel
@Deprecated public RingBufferLogHandler()
SystemProperties
as it's not legal to use it on remoting agents.public RingBufferLogHandler(int ringSize)
public static int getDefaultRingBufferSize()
public void clear()
public List<LogRecord> getView()
LogRecord
s in the ring buffer.
New records are always placed early in the list.
public void close() throws SecurityException
close
in class Handler
SecurityException
Copyright © 2004–2021. All rights reserved.