Class MutableThreadContextMapFilter.Builder

All Implemented Interfaces:
Builder<MutableThreadContextMapFilter>
Enclosing class:
MutableThreadContextMapFilter

public static class MutableThreadContextMapFilter.Builder extends AbstractFilter.AbstractFilterBuilder<MutableThreadContextMapFilter.Builder> implements Builder<MutableThreadContextMapFilter>
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • setConfiguration

      public MutableThreadContextMapFilter.Builder setConfiguration(Configuration configuration)
      Sets the Configuration.
      Parameters:
      configuration - The Configuration.
      Returns:
      this.
    • setPollInterval

      public MutableThreadContextMapFilter.Builder setPollInterval(long pollInterval)
      Set the frequency in seconds that changes to the list a ThreadContext valudes should be checked.
      Parameters:
      pollInterval - interval in seconds to check the file for changes.
      Returns:
      this.
    • setConfigLocation

      public MutableThreadContextMapFilter.Builder setConfigLocation(String configLocation)
      Sets the configuration to use.
      Parameters:
      configLocation - the location of the configuration.
      Returns:
      this
    • 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<MutableThreadContextMapFilter>
      Returns:
      the configured instance.