Interface LogBufferManager<D,​T extends LogBuffer<D>>

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      T create​(java.nio.charset.Charset charset)
      Create a new log buffer with the charset
      void flush​(java.util.function.Consumer<D> writer)
      Flush all buffers with the consumer
    • Method Detail

      • create

        T create​(java.nio.charset.Charset charset)
        Create a new log buffer with the charset
        Parameters:
        charset - charset
      • flush

        void flush​(java.util.function.Consumer<D> writer)
        Flush all buffers with the consumer
        Parameters:
        writer - consumer of log events