public class CyclicBufferAppender<E> extends AppenderBase<E>
Constructor and Description |
---|
CyclicBufferAppender() |
Modifier and Type | Method and Description |
---|---|
E |
get(int i) |
int |
getLength() |
int |
getMaxSize()
Set 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, getStatusManager, setContext
equals, 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>
public int getLength()
public E get(int i)
public void reset()
public int getMaxSize()
public void setMaxSize(int maxSize)
Copyright © 2010 - 2020 Adobe. All Rights Reserved