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 ServerContext
context
protected NamespaceId
namespaceId
-
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 void
addObserver(ConfigurationObserver co)
String
get(Property property)
protected NamespaceId
getNamespaceId()
AccumuloConfiguration
getParentConfiguration()
Gets the parent configuration of this configuration.void
getProperties(Map<String,String> props, Predicate<String> filter)
long
getUpdateCount()
void
invalidateCache()
boolean
isPropertySet(Property prop, boolean cacheAndWatch)
void
removeObserver(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:
isPropertySet
in classAccumuloConfiguration
-
get
public String get(Property property)
- Specified by:
get
in classAccumuloConfiguration
-
getProperties
public void getProperties(Map<String,String> props, Predicate<String> filter)
- Specified by:
getProperties
in classAccumuloConfiguration
-
getNamespaceId
protected NamespaceId getNamespaceId()
-
addObserver
public void addObserver(ConfigurationObserver co)
- Overrides:
addObserver
in classObservableConfiguration
-
removeObserver
public void removeObserver(ConfigurationObserver co)
- Overrides:
removeObserver
in classObservableConfiguration
-
invalidateCache
public void invalidateCache()
- Overrides:
invalidateCache
in classAccumuloConfiguration
-
getUpdateCount
public long getUpdateCount()
- Overrides:
getUpdateCount
in classAccumuloConfiguration
-
-