Class ZooBasedConfiguration

java.lang.Object
org.apache.accumulo.core.conf.AccumuloConfiguration
org.apache.accumulo.server.conf.ZooBasedConfiguration
All Implemented Interfaces:
Iterable<Map.Entry<String,String>>
Direct Known Subclasses:
NamespaceConfiguration, SystemConfiguration, TableConfiguration

public class ZooBasedConfiguration extends AccumuloConfiguration
Instances maintain a local cache of the AccumuloConfiguration hierarchy that will be consistent with stored properties.

When calling getProperties - the local copy will be updated if ZooKeeper changes have been received.

The getUpdateCount() provides an optimization for clients - the count can be used to detect changes without reading the properties. When the update count changes, the next getProperties call will update the local copy and the change count.