Class ReadOnlyDefaultEntryLogger

  • All Implemented Interfaces:
    java.lang.AutoCloseable, EntryLogger

    public class ReadOnlyDefaultEntryLogger
    extends DefaultEntryLogger
    Read Only Entry Logger.
    • Constructor Detail

      • ReadOnlyDefaultEntryLogger

        public ReadOnlyDefaultEntryLogger​(ServerConfiguration conf)
                                   throws java.io.IOException
        Throws:
        java.io.IOException
    • Method Detail

      • addEntry

        public long addEntry​(long ledgerId,
                             java.nio.ByteBuffer entry)
                      throws java.io.IOException
        Overrides:
        addEntry in class DefaultEntryLogger
        Throws:
        java.io.IOException