Uses of Class
org.apache.accumulo.server.conf.store.PropStoreKey
-
-
Uses of PropStoreKey in org.apache.accumulo.server.conf
Methods in org.apache.accumulo.server.conf that return PropStoreKey Modifier and Type Method Description PropStoreKey<?>ZooBasedConfiguration. getPropStoreKey()Methods in org.apache.accumulo.server.conf with parameters of type PropStoreKey Modifier and Type Method Description voidZooBasedConfiguration. zkChangeEvent(PropStoreKey<?> propStoreKey)Constructors in org.apache.accumulo.server.conf with parameters of type PropStoreKey Constructor Description ZooBasedConfiguration(org.slf4j.Logger log, ServerContext context, PropStoreKey<?> propStoreKey, AccumuloConfiguration parent) -
Uses of PropStoreKey in org.apache.accumulo.server.conf.store
Subclasses of PropStoreKey in org.apache.accumulo.server.conf.store Modifier and Type Class Description classNamespacePropKeyclassSystemPropKeyclassTablePropKeyMethods in org.apache.accumulo.server.conf.store that return PropStoreKey Modifier and Type Method Description static @Nullable PropStoreKey<?>PropStoreKey. fromPath(String path)Determine the prop cache id from a ZooKeeper pathMethods in org.apache.accumulo.server.conf.store with parameters of type PropStoreKey Modifier and Type Method Description voidPropChangeListener. cacheChangeEvent(PropStoreKey<?> propStoreKey)Signal that a cache change event occurred - cache change events occur on eviction or invalidation of the cache entry.intPropStoreKey. compareTo(@NonNull PropStoreKey<ID_TYPE> other)voidPropStore. create(PropStoreKey<?> propStoreKey, Map<String,String> props)Create an initial entry for the PropCacheId.voidPropStore. delete(PropStoreKey<?> propStoreKey)Delete the store node from the underlying store.voidPropChangeListener. deleteEvent(PropStoreKey<?> propStoreKey)Signal that the node had been deleted from ZooKeeper.booleanPropStore. exists(PropStoreKey<?> propStoreKey)Test that a node for properties exists without throwing a KeeperException.@Nullable VersionedPropertiesPropCache. get(PropStoreKey<?> propStoreKey)@NonNull VersionedPropertiesPropStore. get(PropStoreKey<?> propCacheId)@Nullable VersionedPropertiesPropStore. getIfCached(PropStoreKey<?> propStoreKey)voidPropStore. putAll(PropStoreKey<?> propStoreKey, Map<String,String> props)Adds or updates current properties.voidPropStore. registerAsListener(PropStoreKey<?> propStoreKey, PropChangeListener listener)External processes can register for notifications if the properties change.voidPropCache. remove(PropStoreKey<?> propStoreKey)voidPropStore. removeProperties(PropStoreKey<?> propStoreKey, Collection<String> keys)Deletes individual properties specified by the set of keys.voidPropStore. replaceAll(PropStoreKey<?> propStoreKey, long version, Map<String,String> props)Replaces all current properties with map provided.booleanPropStore. validateDataVersion(PropStoreKey<?> storeKey, long expectedVersion)Compare the stored data version with the expected version.voidPropChangeListener. zkChangeEvent(PropStoreKey<?> propStoreKey)Signal that a ZooKeeper data change event occurred and that the data has changed. -
Uses of PropStoreKey in org.apache.accumulo.server.conf.store.impl
Methods in org.apache.accumulo.server.conf.store.impl with parameters of type PropStoreKey Modifier and Type Method Description CompletableFuture<? extends VersionedProperties>ZooPropLoader. asyncLoad(PropStoreKey<?> propStoreKey, Executor executor)CompletableFuture<VersionedProperties>ZooPropLoader. asyncReload(PropStoreKey<?> propStoreKey, VersionedProperties oldValue, Executor executor)voidZooPropStore. cacheChangeEvent(PropStoreKey<?> propStoreKey)NOOP for the prop store - the cache value will reflect the updated value on next read.voidZooPropStore. create(PropStoreKey<?> propStoreKey, Map<String,String> props)voidZooPropStore. delete(@NonNull PropStoreKey<?> propStoreKey)voidZooPropStore. deleteEvent(PropStoreKey<?> propStoreKey)booleanZooPropStore. exists(PropStoreKey<?> propStoreKey)@Nullable VersionedPropertiesPropCacheCaffeineImpl. get(PropStoreKey<?> propStoreKey)@NonNull VersionedPropertiesZooPropStore. get(PropStoreKey<?> propStoreKey)get or create properties from the store.@Nullable VersionedPropertiesPropCacheCaffeineImpl. getIfCached(PropStoreKey<?> propStoreKey)Retrieve the version properties if present in the cache, otherwise return null.@Nullable VersionedPropertiesZooPropStore. getIfCached(PropStoreKey<?> propStoreKey)voidPropStoreWatcher. listenerCleanup(PropStoreKey<?> propStoreKey)Clean-up the active listeners set when an entry is removed from the cache, remove it from the active listeners.@Nullable VersionedPropertiesZooPropLoader. load(PropStoreKey<?> propStoreKey)voidZooPropStore. putAll(@NonNull PropStoreKey<?> propStoreKey, @NonNull Map<String,String> props)Copies all mappings from the specified map and into the existing property values and stores them into the backend store.static @Nullable VersionedPropertiesZooPropStore. readFromZk(PropStoreKey<?> propStoreKey, PropStoreWatcher watcher, ZooReader zooReader)Convenience method for utilities that may not have a PropStore read the encoded properties directly from ZooKeeper.voidZooPropStore. registerAsListener(PropStoreKey<?> propStoreKey, PropChangeListener listener)voidPropStoreWatcher. registerListener(PropStoreKey<?> propStoreKey, PropChangeListener listener)@Nullable VersionedPropertiesZooPropLoader. reload(PropStoreKey<?> propStoreKey, VersionedProperties oldValue)voidPropCacheCaffeineImpl. remove(PropStoreKey<?> propStoreKey)voidZooPropStore. removeProperties(@NonNull PropStoreKey<?> propStoreKey, @NonNull Collection<String> keys)voidZooPropStore. replaceAll(@NonNull PropStoreKey<?> propStoreKey, long version, @NonNull Map<String,String> props)voidPropStoreWatcher. signalCacheChangeEvent(PropStoreKey<?> propStoreKey)Execute a task to notify registered listeners that the propStoreKey node change was detected should be updated.voidPropStoreWatcher. signalZkChangeEvent(@NonNull PropStoreKey<?> propStoreKey)Execute a task to notify registered listeners that the propStoreKey node received an event notification from ZooKeeper and should be updated.booleanZooPropStore. validateDataVersion(PropStoreKey<?> storeKey, long expectedVersion)voidZooPropStore. zkChangeEvent(PropStoreKey<?> propStoreKey) -
Uses of PropStoreKey in org.apache.accumulo.server.conf.util
Methods in org.apache.accumulo.server.conf.util with parameters of type PropStoreKey Modifier and Type Method Description voidPropSnapshot. cacheChangeEvent(PropStoreKey<?> eventPropKey)static PropSnapshotPropSnapshot. create(PropStoreKey<?> propStoreKey, PropStore propStore)voidPropSnapshot. deleteEvent(PropStoreKey<?> eventPropKey)voidPropSnapshot. zkChangeEvent(PropStoreKey<?> eventPropKey) -
Uses of PropStoreKey in org.apache.accumulo.server.util
Methods in org.apache.accumulo.server.util with parameters of type PropStoreKey Modifier and Type Method Description static voidPropUtil. removeProperties(ServerContext context, PropStoreKey<?> propStoreKey, Collection<String> propertyNames)static voidPropUtil. replaceProperties(ServerContext context, PropStoreKey<?> propStoreKey, long version, Map<String,String> properties)static voidPropUtil. setProperties(ServerContext context, PropStoreKey<?> propStoreKey, Map<String,String> properties)Method to set provided properties for the provided AbstractId.protected static voidPropUtil. validateProperties(PropStoreKey<?> propStoreKey, Map<String,String> properties)
-