Package org.apache.accumulo.server.conf
Class NamespaceConfiguration
- java.lang.Object
-
- org.apache.accumulo.core.conf.AccumuloConfiguration
-
- org.apache.accumulo.core.conf.ObservableConfiguration
-
- org.apache.accumulo.server.conf.NamespaceConfiguration
-
public class NamespaceConfiguration extends ObservableConfiguration
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.accumulo.core.conf.AccumuloConfiguration
AccumuloConfiguration.ScanExecutorConfig
-
-
Field Summary
Fields Modifier and Type Field Description protected ServerContextcontextprotected NamespaceIdnamespaceId
-
Constructor Summary
Constructors Constructor Description NamespaceConfiguration(NamespaceId namespaceId, ServerContext context, AccumuloConfiguration parent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddObserver(ConfigurationObserver co)Stringget(Property property)protected NamespaceIdgetNamespaceId()AccumuloConfigurationgetParentConfiguration()Gets the parent configuration of this configuration.voidgetProperties(Map<String,String> props, Predicate<String> filter)longgetUpdateCount()voidinvalidateCache()booleanisPropertySet(Property prop, boolean cacheAndWatch)voidremoveObserver(ConfigurationObserver co)-
Methods inherited from class org.apache.accumulo.core.conf.ObservableConfiguration
expireAllObservers, getObservers, propertiesChanged, propertyChanged
-
Methods inherited from class org.apache.accumulo.core.conf.AccumuloConfiguration
get, getAllPropertiesWithPrefix, getAsBytes, getBoolean, getCount, getFraction, getMaxFilesPerTablet, getPath, getPort, getScanExecutors, getTimeInMillis, iterator, resolve
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Field Detail
-
namespaceId
protected NamespaceId namespaceId
-
context
protected ServerContext context
-
-
Constructor Detail
-
NamespaceConfiguration
public NamespaceConfiguration(NamespaceId namespaceId, ServerContext context, AccumuloConfiguration parent)
-
-
Method Detail
-
getParentConfiguration
public AccumuloConfiguration getParentConfiguration()
Gets the parent configuration of this configuration.- Returns:
- parent configuration
-
isPropertySet
public boolean isPropertySet(Property prop, boolean cacheAndWatch)
- Overrides:
isPropertySetin classAccumuloConfiguration
-
get
public String get(Property property)
- Specified by:
getin classAccumuloConfiguration
-
getProperties
public void getProperties(Map<String,String> props, Predicate<String> filter)
- Specified by:
getPropertiesin classAccumuloConfiguration
-
getNamespaceId
protected NamespaceId getNamespaceId()
-
addObserver
public void addObserver(ConfigurationObserver co)
- Overrides:
addObserverin classObservableConfiguration
-
removeObserver
public void removeObserver(ConfigurationObserver co)
- Overrides:
removeObserverin classObservableConfiguration
-
invalidateCache
public void invalidateCache()
- Overrides:
invalidateCachein classAccumuloConfiguration
-
getUpdateCount
public long getUpdateCount()
- Overrides:
getUpdateCountin classAccumuloConfiguration
-
-