StandalonePersistRepository
Fully-qualified class name
org.apache.shardingsphere.mode.repository.standalone.StandalonePersistRepository
Definition
Standalone mode configuration information persistence definition
Implementation classes
ClusterPersistRepository
Fully-qualified class name
org.apache.shardingsphere.mode.repository.cluster.ClusterPersistRepository
Definition
Cluster mode configuration information persistence definition
Implementation classes
GovernanceWatcher
Fully-qualified class name
org.apache.shardingsphere.mode.manager.cluster.coordinator.registry.GovernanceWatcher
Definition
Governance listener definition
Implementation classes
Configuration Type |
Description |
Fully-qualified class name |
Types: ADDED, UPDATED, DELETED; WatchingKeys: /nodes/compute_nodes/status |
Cluster state change listener |
org.apache.shardingsphere.mode.manager.cluster.coordinator.registry.status.cluster.watcher.ClusterStateChangedWatcher |
Types: ADDED, UPDATED, DELETED; WatchingKeys: /nodes/compute_nodes |
Compute node state change listener |
org.apache.shardingsphere.mode.manager.cluster.coordinator.registry.status.compute.watcher.ComputeNodeStateChangedWatcher |
Types: ADDED, UPDATED, DELETED; WatchingKeys: /metadata/${databaseName} |
Metadata change listener |
org.apache.shardingsphere.mode.manager.cluster.coordinator.registry.metadata.watcher.MetaDataChangedWatcher |
Types: ADDED, UPDATED; WatchingKeys: /props |
Property change listener |
org.apache.shardingsphere.mode.manager.cluster.coordinator.registry.config.watcher.PropertiesChangedWatcher |
Types: UPDATED; WatchingKeys: /rules |
The global rule configuration change listener |
org.apache.shardingsphere.mode.manager.cluster.coordinator.registry.config.watcher.GlobalRuleChangedWatcher |
Types: ADDED, UPDATED, DELETED; WatchingKeys: /sys_data |
System database change listener |
org.apache.shardingsphere.mode.manager.cluster.coordinator.registry.config.watcher.ShardingSphereDataChangedWatcher |
Types: ADDED, UPDATED, DELETED; WatchingKeys: /nodes/storage_nodes |
Storage node state change listener |
org.apache.shardingsphere.mode.manager.cluster.coordinator.registry.status.storage.watcher.StorageNodeStateChangedWatcher |
Types: DELETED; WatchingKeys: /lock/exclusive/locks/cluster_lock |
Cluster lock release listener |
org.apache.shardingsphere.mode.manager.cluster.coordinator.registry.status.cluster.watcher.lock.ClusterLockDeletedWatcher |