Class MemoryMappedFileAppender.Builder<B extends MemoryMappedFileAppender.Builder<B>>

Type Parameters:
B - The type to build
All Implemented Interfaces:
Enclosing class:

public static class MemoryMappedFileAppender.Builder<B extends MemoryMappedFileAppender.Builder<B>> extends AbstractOutputStreamAppender.Builder<B> implements Builder<MemoryMappedFileAppender>
Builds RandomAccessFileAppender instances.
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • build

      public MemoryMappedFileAppender build()
      Description copied from interface: Builder
      Builds the object after all configuration has been set. This will use default values for any unspecified attributes for the object.
      Specified by:
      build in interface Builder<B extends MemoryMappedFileAppender.Builder<B>>
      the configured instance.
    • setFileName

      public B setFileName(String fileName)
    • setAppend

      public B setAppend(boolean append)
    • setRegionLength

      public B setRegionLength(int regionLength)
    • setAdvertise

      public B setAdvertise(boolean advertise)
    • setAdvertiseURI

      public B setAdvertiseURI(String advertiseURI)