Package ch.qos.logback.core.read
Class CyclicBufferAppender<E>
- java.lang.Object
 - 
- ch.qos.logback.core.spi.ContextAwareBase
 - 
- ch.qos.logback.core.AppenderBase<E>
 - 
- ch.qos.logback.core.read.CyclicBufferAppender<E>
 
 
 
 
- 
- All Implemented Interfaces:
 Appender<E>,ContextAware,FilterAttachable<E>,LifeCycle
@Deprecated(since="2022-01-27") public class CyclicBufferAppender<E> extends AppenderBase<E>
Deprecated.This internal logback API is not supported by AEM as a Cloud Service.CyclicBufferAppender stores events in a cyclic buffer of user-specified size. As the name suggests, if the size of the buffer is N, only the latest N events are available. 
- 
- 
Constructor Summary
Constructors Constructor Description CyclicBufferAppender()Deprecated. 
- 
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Eget(int i)Deprecated.intgetLength()Deprecated.intgetMaxSize()Deprecated.Set the size of the cyclic buffer.voidreset()Deprecated.voidsetMaxSize(int maxSize)Deprecated.voidstart()Deprecated.voidstop()Deprecated.- 
Methods inherited from class ch.qos.logback.core.AppenderBase
addFilter, clearAllFilters, doAppend, getCopyOfAttachedFiltersList, getFilterChainDecision, getName, isStarted, setName, toString 
- 
Methods inherited from class ch.qos.logback.core.spi.ContextAwareBase
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getStatusManager, setContext 
- 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait 
- 
Methods inherited from interface ch.qos.logback.core.spi.ContextAware
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, setContext 
 - 
 
 - 
 
- 
- 
Method Detail
- 
start
public void start()
Deprecated.- Specified by:
 startin interfaceLifeCycle- Overrides:
 startin classAppenderBase<E>
 
- 
stop
public void stop()
Deprecated.- Specified by:
 stopin interfaceLifeCycle- Overrides:
 stopin classAppenderBase<E>
 
- 
getLength
public int getLength()
Deprecated. 
- 
get
public E get(int i)
Deprecated. 
- 
reset
public void reset()
Deprecated. 
- 
getMaxSize
public int getMaxSize()
Deprecated.Set the size of the cyclic buffer. 
- 
setMaxSize
public void setMaxSize(int maxSize)
Deprecated. 
 - 
 
 -