public class CloudConfigServiceWaterImpl extends TimerTask implements CloudConfigService
| Constructor and Description |
|---|
CloudConfigServiceWaterImpl(CloudProps cloudProps) |
| Modifier and Type | Method and Description |
|---|---|
void |
attention(String group,
String key,
CloudConfigHandler observer) |
long |
getRefreshInterval()
配置刷新间隔时间(仅当isFilesMode时有效)
|
void |
onUpdate(String group,
String key) |
Config |
pull(String group,
String key) |
boolean |
push(String group,
String key,
String value) |
boolean |
remove(String group,
String key) |
void |
run() |
cancel, scheduledExecutionTimeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpull, push, removepublic CloudConfigServiceWaterImpl(CloudProps cloudProps)
public long getRefreshInterval()
public Config pull(String group, String key)
pull in interface CloudConfigServicepublic boolean push(String group, String key, String value)
push in interface CloudConfigServicepublic boolean remove(String group, String key)
remove in interface CloudConfigServicepublic void attention(String group, String key, CloudConfigHandler observer)
attention in interface CloudConfigServiceCopyright © 2025. All rights reserved.