org.elasticsearch.client.transport
Class TransportClientNodesService
java.lang.Object
org.elasticsearch.common.component.AbstractComponent
org.elasticsearch.client.transport.TransportClientNodesService
public class TransportClientNodesService
- extends AbstractComponent
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TransportClientNodesService
@Inject
public TransportClientNodesService(Settings settings,
ClusterName clusterName,
TransportService transportService,
ThreadPool threadPool)
transportAddresses
public com.google.common.collect.ImmutableList<TransportAddress> transportAddresses()
connectedNodes
public com.google.common.collect.ImmutableList<DiscoveryNode> connectedNodes()
listedNodes
public com.google.common.collect.ImmutableList<DiscoveryNode> listedNodes()
addTransportAddresses
public TransportClientNodesService addTransportAddresses(TransportAddress... transportAddresses)
removeTransportAddress
public TransportClientNodesService removeTransportAddress(TransportAddress transportAddress)
execute
public <T> T execute(TransportClientNodesService.NodeCallback<T> callback)
throws ElasticSearchException
- Throws:
ElasticSearchException
execute
public <Response> void execute(TransportClientNodesService.NodeListenerCallback<Response> callback,
ActionListener<Response> listener)
throws ElasticSearchException
- Throws:
ElasticSearchException
close
public void close()
Copyright © 2009-2012. All Rights Reserved.