Class SegmentBufferWriterPool


  • public class SegmentBufferWriterPool
    extends java.lang.Object
    This WriteOperationHandler uses a pool of SegmentBufferWriters, which it passes to its execute method.

    Instances of this class are thread safe.

    • Constructor Detail

    • Method Detail

      • getGCGeneration

        @NotNull
        public @NotNull GCGeneration getGCGeneration()
      • execute

        @NotNull
        public @NotNull RecordId execute​(@NotNull
                                         @NotNull GCGeneration gcGeneration,
                                         @NotNull
                                         @NotNull org.apache.jackrabbit.oak.segment.WriteOperationHandler.WriteOperation writeOperation)
                                  throws java.io.IOException
        Throws:
        java.io.IOException
      • flush

        public void flush​(@NotNull
                          @NotNull SegmentStore store)
                   throws java.io.IOException
        Throws:
        java.io.IOException