public abstract class ZookeeperServerRegistry<R extends cn.ponfee.disjob.core.base.Server,D extends cn.ponfee.disjob.core.base.Server> extends ServerRegistry<R,D>
discoveryRole, discoveryRootPath, log, registered, registryRole, registryRootPath, separator, state| 限定符 | 构造器和说明 |
|---|---|
protected |
ZookeeperServerRegistry(ZookeeperRegistryProperties config,
org.springframework.web.client.RestTemplate restTemplate) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
close() |
void |
deregister(R server) |
List<R> |
getRegisteredServers() |
boolean |
isConnected() |
void |
register(R server) |
deserializeServer, deserializeServers, discoveryRole, getDiscoveredServers, hasDiscoveredServers, isDiscoveredServer, publishServerEvent, refreshDiscoveryServers, registryRole, subscribeServerEventclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdiscoverServersprotected ZookeeperServerRegistry(ZookeeperRegistryProperties config, org.springframework.web.client.RestTemplate restTemplate)
public final boolean isConnected()
isConnected 在类中 ServerRegistry<R extends cn.ponfee.disjob.core.base.Server,D extends cn.ponfee.disjob.core.base.Server>public final void register(R server)
public final void deregister(R server)
@PreDestroy public void close()
close 在接口中 Discovery<D extends cn.ponfee.disjob.core.base.Server>close 在接口中 Registry<R extends cn.ponfee.disjob.core.base.Server>close 在接口中 Closeableclose 在接口中 AutoCloseableclose 在类中 ServerRegistry<R extends cn.ponfee.disjob.core.base.Server,D extends cn.ponfee.disjob.core.base.Server>Copyright © 2025. All rights reserved.