public class CyclicBufferAppender<E> extends AppenderBase<E>
name, started
context
Constructor and Description |
---|
CyclicBufferAppender() |
Modifier and Type | Method and Description |
---|---|
protected void |
append(E eventObject) |
E |
get(int i) |
int |
getLength() |
int |
getMaxSize()
Gets the size of the cyclic buffer.
|
void |
reset() |
void |
setMaxSize(int maxSize) |
void |
start() |
void |
stop() |
addFilter, clearAllFilters, doAppend, getCopyOfAttachedFiltersList, getFilterChainDecision, getName, isStarted, setName, toString
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContext
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, setContext
public void start()
start
in interface LifeCycle
start
in class AppenderBase<E>
public void stop()
stop
in interface LifeCycle
stop
in class AppenderBase<E>
protected void append(E eventObject)
append
in class AppenderBase<E>
public int getLength()
public E get(int i)
public void reset()
public int getMaxSize()
public void setMaxSize(int maxSize)
Copyright © 2005–2014 QOS.ch. All rights reserved.