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 Detail

      • CyclicBufferAppender

        public CyclicBufferAppender()
        Deprecated.
    • Method Detail

      • 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.