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, iteratorgetBoolean, getDouble, getInt, getInternalOptionList, getLong, getOption, getOption, getOption, getOption, getPublicOptionList, getScope, getString, setLocalOption, setLocalOption, setLocalOption, setLocalOption, setLocalOption, setLocalOptionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDefaultforEach, spliteratorprotected final Map<String,OptionValue> options
public void setLocalOptionHelper(OptionValue value)
setLocalOptionHelper in class BaseOptionManagerpublic void deleteAllLocalOptions()
OptionManagerpublic void deleteLocalOption(String name)
OptionManagerSystemOptionManager.createDefaultOptionDefinitions()),
but the option was not set within this manager, calling this method should be a no-op.name - option nameCopyright © 2021 The Apache Software Foundation. All rights reserved.