public class ThriftConsulServerListUpdater extends Object implements ServerListUpdater
ServerListUpdater.UpdateAction| 构造器和说明 |
|---|
ThriftConsulServerListUpdater() |
ThriftConsulServerListUpdater(long refreshIntervalMs) |
ThriftConsulServerListUpdater(long initialDelayMs,
long refreshIntervalMs) |
public ThriftConsulServerListUpdater()
public ThriftConsulServerListUpdater(long refreshIntervalMs)
public ThriftConsulServerListUpdater(long initialDelayMs,
long refreshIntervalMs)
public void start(ServerListUpdater.UpdateAction updateAction)
start 在接口中 ServerListUpdaterpublic void stop()
stop 在接口中 ServerListUpdaterCopyright © 2021. All rights reserved.