public abstract class InMemoryOptionManager extends FallbackOptionManager
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.Modifier and Type | Field and Description |
---|---|
protected Map<String,OptionValue> |
options |
fallback
Modifier and Type | Method and Description |
---|---|
void |
deleteAllLocalOptions()
Deletes all options.
|
void |
deleteLocalOption(String name)
Deletes the option.
|
void |
setLocalOptionHelper(OptionValue value) |
getOption, getOptionDefinition, getOptionList, iterator
getBoolean, getDouble, getInt, getInternalOptionList, getLong, getOption, getOption, getOption, getOption, getPublicOptionList, getScope, getString, setLocalOption, setLocalOption, setLocalOption, setLocalOption, setLocalOption, setLocalOption
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDefault
forEach, spliterator
protected final Map<String,OptionValue> options
public void setLocalOptionHelper(OptionValue value)
setLocalOptionHelper
in class BaseOptionManager
public void deleteAllLocalOptions()
OptionManager
public void deleteLocalOption(String name)
OptionManager
SystemOptionManager.createDefaultOptionDefinitions()
),
but the option was not set within this manager, calling this method should be a no-op.name
- option nameCopyright © 1970 The Apache Software Foundation. All rights reserved.