org.elasticsearch.transport
Interface Transport
- All Superinterfaces:
- CloseableComponent, LifecycleComponent<Transport>
- All Known Implementing Classes:
- LocalTransport, NettyTransport
public interface Transport
- extends LifecycleComponent<Transport>
transportServiceAdapter
void transportServiceAdapter(TransportServiceAdapter service)
boundAddress
BoundTransportAddress boundAddress()
addressSupported
boolean addressSupported(java.lang.Class<? extends TransportAddress> address)
- Is the address type supported.
nodesAdded
void nodesAdded(java.lang.Iterable<DiscoveryNode> nodes)
nodesRemoved
void nodesRemoved(java.lang.Iterable<DiscoveryNode> nodes)
sendRequest
<T extends Streamable> void sendRequest(DiscoveryNode node,
long requestId,
java.lang.String action,
Streamable message,
TransportResponseHandler<T> handler)
throws java.io.IOException,
TransportException
- Throws:
java.io.IOException
TransportException