T - type of configurationpublic interface SchemaBasedPersistService<T>
| 限定符和类型 | 方法和说明 |
|---|---|
default void |
cache(String schemaName,
T configs)
Cache configurations.
|
boolean |
isExisted(String schemaName)
Judge whether schema configuration existed.
|
T |
load(String schemaName)
Load configurations.
|
void |
persist(String schemaName,
T configs)
Persist configurations.
|
void |
persist(String schemaName,
T configs,
boolean isOverwrite)
Persist configurations.
|
void persist(String schemaName, T configs, boolean isOverwrite)
schemaName - schema nameconfigs - configurationsisOverwrite - is overwritevoid persist(String schemaName, T configs)
schemaName - schema nameconfigs - configurationsboolean isExisted(String schemaName)
schemaName - schema nameCopyright © 2021 The Apache Software Foundation. All rights reserved.