public final class StorageNodeStatusSubscriber extends Object
| 构造器和说明 |
|---|
StorageNodeStatusSubscriber(ClusterPersistRepository repository,
org.apache.shardingsphere.infra.util.eventbus.EventBusContext eventBusContext) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
update(DataSourceDisabledEvent event)
Update data source disabled state.
|
void |
update(PrimaryDataSourceChangedEvent event)
Update primary data source state.
|
public StorageNodeStatusSubscriber(ClusterPersistRepository repository, org.apache.shardingsphere.infra.util.eventbus.EventBusContext eventBusContext)
public void update(DataSourceDisabledEvent event)
event - data source disabled eventpublic void update(PrimaryDataSourceChangedEvent event)
event - primary data source eventCopyright © 2022 The Apache Software Foundation. All rights reserved.