Class TimeTakenLogEntry.Builder

All Implemented Interfaces:
Builder<TimeTakenLogEntry.Builder,TimeTakenLogEntry>, Supplier<TimeTakenLogEntry>
Enclosing class:
TimeTakenLogEntry

public static final class TimeTakenLogEntry.Builder extends AbstractLogEntry.Builder<TimeTakenLogEntry,TimeTakenLogEntry.Builder>
A fluent API builder for TimeTakenLogEntry.
  • Method Details

    • build

      public TimeTakenLogEntry build()
      Description copied from interface: Builder
      Build the instance from this builder.
      Returns:
      instance of the built type
    • unit

      public TimeTakenLogEntry.Builder unit(TimeUnit unit)
      Configure the time unit to use. Defaults to TimeUnit.MICROSECONDS.
      Parameters:
      unit - unit to use when writing time taken to Access log
      Returns:
      updated builder instance