@Join
public class ConsulInstanceRegisterRepository
extends java.lang.Object
implements org.apache.shenyu.registry.api.ShenyuInstanceRegisterRepository
| 构造器和说明 |
|---|
ConsulInstanceRegisterRepository() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
close() |
java.util.List<org.apache.shenyu.registry.api.entity.InstanceEntity> |
getHealthServices(java.lang.String selectKey,
java.lang.String waitTime)
getHealthServices.
|
void |
init(org.apache.shenyu.registry.api.config.RegisterConfig config) |
void |
persistInstance(org.apache.shenyu.registry.api.entity.InstanceEntity instance) |
java.util.List<org.apache.shenyu.registry.api.entity.InstanceEntity> |
selectInstances(java.lang.String selectKey) |
void |
watchConfigKeyValues(java.lang.String selectKey)
watch key values.
|
void |
watcherStart(java.lang.String selectKey)
async to watch data change.
|
public void init(org.apache.shenyu.registry.api.config.RegisterConfig config)
init 在接口中 org.apache.shenyu.registry.api.ShenyuInstanceRegisterRepositorypublic void persistInstance(org.apache.shenyu.registry.api.entity.InstanceEntity instance)
persistInstance 在接口中 org.apache.shenyu.registry.api.ShenyuInstanceRegisterRepositorypublic void close()
close 在接口中 org.apache.shenyu.registry.api.ShenyuInstanceRegisterRepositorypublic java.util.List<org.apache.shenyu.registry.api.entity.InstanceEntity> selectInstances(java.lang.String selectKey)
selectInstances 在接口中 org.apache.shenyu.registry.api.ShenyuInstanceRegisterRepositorypublic void watcherStart(java.lang.String selectKey)
selectKey - selectKeypublic void watchConfigKeyValues(java.lang.String selectKey)
selectKey - selectKeypublic java.util.List<org.apache.shenyu.registry.api.entity.InstanceEntity> getHealthServices(java.lang.String selectKey,
java.lang.String waitTime)
selectKey - keywaitTime - waitTimeCopyright © 2026 The Apache Software Foundation. All rights reserved.