public class ServerDiscoverySelector extends Object implements DiscoverySelector<Server>
Constructor and Description |
---|
ServerDiscoverySelector(org.apache.curator.x.discovery.ServiceProvider serviceProvider) |
public ServerDiscoverySelector(org.apache.curator.x.discovery.ServiceProvider serviceProvider)
public Server pick()
pick
in interface DiscoverySelector<Server>
public void stop() throws IOException
IOException
Copyright © 2011–2015. All rights reserved.