public class CacheMarshallersValue extends PluginListValue
| Constructor and Description |
|---|
CacheMarshallersValue(Configuration conf) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,CacheMarshaller> |
getInstancesAsMap() |
static CacheMarshaller |
getMarshallerById(Configuration c,
String id)
Return the
CacheMarshaller to use for caching metadata of id
id. |
CacheMarshaller |
getMarshallerById(String id)
Return the
CacheMarshaller to use for caching metadata of id
id. |
protected void |
initialize() |
Object |
instantiate(Class<?> elemType,
Configuration conf,
boolean fatal)
Instantiate the plugins as instances of the given class.
|
getClassNames, getInternalString, getProperties, getString, getValueType, objectChanged, setClassNames, setInternalString, setProperties, setStringconfigure, configure, get, instantiate, newInstance, set, set, setInternalObjectaddEquivalentKey, addListener, alias, alias, assertChangeable, clone, equals, getAliases, getDefault, getEquivalentKeys, getInstantiatingGetter, getListeners, getLoadKey, getOriginalValue, getProperty, getPropertyKeys, getScope, hashCode, hide, isAliasListComprehensive, isDynamic, isHidden, isPrivate, makePrivate, matches, removeListener, setAlias, setAlias, setAliases, setAliasListComprehensive, setDefault, setDynamic, setInstantiatingGetter, setLoadKey, setObject, setProperty, setScope, toString, unalias, unalias, valueChangedpublic CacheMarshallersValue(Configuration conf)
public Object instantiate(Class<?> elemType, Configuration conf, boolean fatal)
PluginListValueinstantiate in class PluginListValuepublic CacheMarshaller getMarshallerById(String id)
CacheMarshaller to use for caching metadata of id
id. If no marshaller exists for the id, returns
NoOpCacheMarshaller.public static CacheMarshaller getMarshallerById(Configuration c, String id)
CacheMarshaller to use for caching metadata of id
id. If no marshaller exists for the id, returns
NoOpCacheMarshaller.public Map<String,CacheMarshaller> getInstancesAsMap()
protected void initialize()
Copyright © 2006–2022 Apache Software Foundation. All rights reserved.