Class DynamicConfigurationResources
java.lang.Object
org.apache.pulsar.broker.resources.BaseResources<Map<String,String>>
org.apache.pulsar.broker.resources.DynamicConfigurationResources
-
Field Summary
Fields inherited from class org.apache.pulsar.broker.resources.BaseResources
BASE_CLUSTERS_PATH, BASE_POLICIES_PATH, LOCAL_POLICIES_ROOT -
Constructor Summary
ConstructorsConstructorDescriptionDynamicConfigurationResources(org.apache.pulsar.metadata.api.MetadataStore store, int operationTimeoutSec) -
Method Summary
Methods inherited from class org.apache.pulsar.broker.resources.BaseResources
create, createAsync, delete, deleteAsync, deleteIfExistsAsync, exists, existsAsync, get, getAsync, getChildren, getChildrenAsync, getOperationTimeoutSec, joinPath, refreshAndGetAsync, set, setAsync, setWithCreate, setWithCreateAsync
-
Constructor Details
-
DynamicConfigurationResources
public DynamicConfigurationResources(org.apache.pulsar.metadata.api.MetadataStore store, int operationTimeoutSec)
-
-
Method Details
-
getDynamicConfigurationAsync
-
getDynamicConfiguration
public Optional<Map<String,String>> getDynamicConfiguration() throws org.apache.pulsar.metadata.api.MetadataStoreException- Throws:
org.apache.pulsar.metadata.api.MetadataStoreException
-
setDynamicConfigurationWithCreate
public void setDynamicConfigurationWithCreate(Function<Optional<Map<String, String>>, throws org.apache.pulsar.metadata.api.MetadataStoreExceptionMap<String, String>> createFunction) - Throws:
org.apache.pulsar.metadata.api.MetadataStoreException
-
setDynamicConfigurationWithCreateAsync
-
setDynamicConfigurationAsync
-
setDynamicConfiguration
public void setDynamicConfiguration(Function<Map<String, String>, throws org.apache.pulsar.metadata.api.MetadataStoreExceptionMap<String, String>> updateFunction) - Throws:
org.apache.pulsar.metadata.api.MetadataStoreException
-
isDynamicConfigurationPath
-