public interface AutoSwitchingBean<T>
| 限定符和类型 | 方法和说明 |
|---|---|
AsyncTerminateStrategy<T> |
asyncTerminateStrategy() |
AutosWitchingProxyHandler<T> |
autosWitchingProxyHandler() |
String |
beanName() |
String |
monitorSourcePrefix() |
default String |
namespace() |
default <V> void |
onChange(Set<String> changedKeys,
V changeEvent)
默认的监听行为
|
Createable<T> |
supplier() |
Class<T> |
type() |
String beanName()
String monitorSourcePrefix()
AsyncTerminateStrategy<T> asyncTerminateStrategy()
Createable<T> supplier()
AutosWitchingProxyHandler<T> autosWitchingProxyHandler()
default String namespace()
default <V> void onChange(Set<String> changedKeys, V changeEvent)
V - 事件源VchangedKeys - 更改的key集合changeEvent - 事件源ConfigChangeListenerCopyright © 2018 Pivotal Software, Inc.. All rights reserved.