public final class PropertiesChangedWatcher extends Object implements GovernanceWatcher<PropertiesChangedEvent>
| Constructor and Description |
|---|
PropertiesChangedWatcher() |
| Modifier and Type | Method and Description |
|---|---|
Optional<PropertiesChangedEvent> |
createGovernanceEvent(DataChangedEvent event)
Create governance event.
|
Collection<String> |
getWatchingKeys(Collection<String> schemaNames)
Get watching keys.
|
Collection<DataChangedEvent.Type> |
getWatchingTypes()
Get watching types.
|
public Collection<String> getWatchingKeys(Collection<String> schemaNames)
GovernanceWatchergetWatchingKeys in interface GovernanceWatcher<PropertiesChangedEvent>schemaNames - schema namespublic Collection<DataChangedEvent.Type> getWatchingTypes()
GovernanceWatchergetWatchingTypes in interface GovernanceWatcher<PropertiesChangedEvent>public Optional<PropertiesChangedEvent> createGovernanceEvent(DataChangedEvent event)
GovernanceWatchercreateGovernanceEvent in interface GovernanceWatcher<PropertiesChangedEvent>event - registry center data changed eventCopyright © 2021 The Apache Software Foundation. All rights reserved.