Class 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 Details

    • CyclicBufferAppender

      public CyclicBufferAppender()
      Deprecated.
  • Method Details

    • start

      public void start()
      Deprecated.
      Specified by:
      start in interface LifeCycle
      Overrides:
      start in class AppenderBase<E>
    • stop

      public void stop()
      Deprecated.
      Specified by:
      stop in interface LifeCycle
      Overrides:
      stop in class AppenderBase<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.