@Deprecated public class ServerDiscoverySelector extends Object implements DiscoverySelector<Server>
DruidNodeDiscovery for discovery.| Constructor and Description |
|---|
ServerDiscoverySelector(org.apache.curator.x.discovery.ServiceProvider serviceProvider,
String name)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<Server> |
getAll()
Deprecated.
|
Server |
pick()
Deprecated.
|
void |
start()
Deprecated.
|
void |
stop()
Deprecated.
|
public ServerDiscoverySelector(org.apache.curator.x.discovery.ServiceProvider serviceProvider,
String name)
@Nullable public Server pick()
pick in interface DiscoverySelector<Server>public Collection<Server> getAll()
public void stop()
throws IOException
IOExceptionCopyright © 2011–2018. All rights reserved.