public class DynamicConfigurationResources extends BaseResources<Map<String,String>>
BASE_CLUSTERS_PATH, BASE_POLICIES_PATH| Constructor and Description |
|---|
DynamicConfigurationResources(MetadataStore store,
int operationTimeoutSec) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,String> |
getDynamicConfiguration() |
CompletableFuture<Optional<Map<String,String>>> |
getDynamicConfigurationAsync() |
boolean |
isDynamicConfigurationPath(String path) |
void |
setDynamicConfiguration(Function<Map<String,String>,Map<String,String>> updateFunction) |
void |
setDynamicConfigurationWithCreate(Function<Optional<Map<String,String>>,Map<String,String>> createFunction) |
create, createAsync, delete, deleteAsync, deleteRecursive, exists, get, getAsync, getChildren, getChildrenAsync, getOperationTimeoutSec, joinPath, listSubTreeBFS, set, setAsync, setWithCreate, setWithCreateAsyncpublic DynamicConfigurationResources(MetadataStore store, int operationTimeoutSec)
public CompletableFuture<Optional<Map<String,String>>> getDynamicConfigurationAsync()
public Map<String,String> getDynamicConfiguration() throws MetadataStoreException
MetadataStoreExceptionpublic void setDynamicConfigurationWithCreate(Function<Optional<Map<String,String>>,Map<String,String>> createFunction) throws MetadataStoreException
MetadataStoreExceptionpublic void setDynamicConfiguration(Function<Map<String,String>,Map<String,String>> updateFunction) throws MetadataStoreException
MetadataStoreExceptionpublic boolean isDynamicConfigurationPath(String path)
Copyright © 2017–2021 Apache Software Foundation. All rights reserved.