Class InMemoryOptionManager

All Implemented Interfaces:
Iterable<OptionValue>, OptionManager, OptionSet
Direct Known Subclasses:
FragmentOptionManager, QueryOptionManager, SessionOptionManager

public abstract class InMemoryOptionManager extends FallbackOptionManager
This is an OptionManager that holds options in memory rather than in a persistent store. Options stored in SessionOptionManager, QueryOptionManager, and FragmentOptionManager are held in memory (see options) whereas the SystemOptionManager stores options in a persistent store.
  • Field Details

  • Method Details

    • setLocalOptionHelper

      public void setLocalOptionHelper(OptionValue value)
      Specified by:
      setLocalOptionHelper in class BaseOptionManager
    • deleteAllLocalOptions

      public void deleteAllLocalOptions()
      Description copied from interface: OptionManager
      Deletes all options. If no options are set, calling this method should be no-op.
    • deleteLocalOption

      public void deleteLocalOption(String name)
      Description copied from interface: OptionManager
      Deletes the option. If the option name is valid (exists in the set of validators produced by SystemOptionManager.createDefaultOptionDefinitions()), but the option was not set within this manager, calling this method should be a no-op.
      Parameters:
      name - option name