Modifier and Type | Method and Description |
---|---|
List<TransportAddress> |
TransportClientNodesService.transportAddresses() |
List<TransportAddress> |
TransportClient.transportAddresses()
Returns the current registered transport addresses to use (added using
TransportClient.addTransportAddress(org.elasticsearch.common.transport.TransportAddress) . |
Modifier and Type | Method and Description |
---|---|
TransportClient |
TransportClient.addTransportAddress(TransportAddress transportAddress)
Adds a transport address that will be used to connect to.
|
TransportClientNodesService |
TransportClientNodesService.addTransportAddresses(TransportAddress... transportAddresses) |
TransportClient |
TransportClient.addTransportAddresses(TransportAddress... transportAddress)
Adds a list of transport addresses that will be used to connect to.
|
TransportClientNodesService |
TransportClientNodesService.removeTransportAddress(TransportAddress transportAddress) |
TransportClient |
TransportClient.removeTransportAddress(TransportAddress transportAddress)
Removes a transport address from the list of transport addresses that are used to connect to.
|
Modifier and Type | Method and Description |
---|---|
TransportAddress |
DiscoveryNode.address()
The address that the node can be communicated with.
|
TransportAddress |
DiscoveryNode.getAddress()
The address that the node can be communicated with.
|
Modifier and Type | Method and Description |
---|---|
DiscoveryNode |
DiscoveryNodes.findByAddress(TransportAddress address)
Get a node by its address
|
Constructor and Description |
---|
DiscoveryNode(String nodeName,
String nodeId,
String hostName,
String hostAddress,
TransportAddress address,
Map<String,String> attributes,
Version version)
Creates a new
DiscoveryNode |
DiscoveryNode(String nodeName,
String nodeId,
TransportAddress address,
Map<String,String> attributes,
Version version)
Creates a new
DiscoveryNode |
DiscoveryNode(String nodeId,
TransportAddress address,
Version version)
Creates a new
DiscoveryNode |
Modifier and Type | Class and Description |
---|---|
class |
DummyTransportAddress |
class |
InetSocketTransportAddress
A transport address used for IP socket address (wraps
InetSocketAddress ). |
class |
LocalTransportAddress |
Modifier and Type | Method and Description |
---|---|
static TransportAddress |
TransportAddressSerializers.addressFromStream(StreamInput input) |
TransportAddress[] |
BoundTransportAddress.boundAddresses() |
TransportAddress |
BoundTransportAddress.publishAddress() |
TransportAddress |
InetSocketTransportAddress.readFrom(StreamInput in) |
Modifier and Type | Method and Description |
---|---|
static void |
TransportAddressSerializers.addAddressType(TransportAddress address) |
static void |
TransportAddressSerializers.addressToStream(StreamOutput out,
TransportAddress address) |
boolean |
InetSocketTransportAddress.sameHost(TransportAddress other) |
boolean |
LocalTransportAddress.sameHost(TransportAddress other) |
boolean |
DummyTransportAddress.sameHost(TransportAddress other) |
boolean |
TransportAddress.sameHost(TransportAddress other) |
Constructor and Description |
---|
BoundTransportAddress(TransportAddress[] boundAddresses,
TransportAddress publishAddress) |
BoundTransportAddress(TransportAddress[] boundAddresses,
TransportAddress publishAddress) |
Modifier and Type | Method and Description |
---|---|
TransportAddress |
ActionTransportException.address()
The target address to invoke the action on.
|
TransportAddress[] |
Transport.addressesFromString(String address,
int perAddressLimit)
Returns an address from its string representation.
|
TransportAddress[] |
TransportService.addressesFromString(String address,
int perAddressLimit) |
TransportAddress |
TransportMessage.remoteAddress() |
Modifier and Type | Method and Description |
---|---|
void |
TransportMessage.remoteAddress(TransportAddress remoteAddress) |
Modifier and Type | Method and Description |
---|---|
boolean |
Transport.addressSupported(Class<? extends TransportAddress> address)
Is the address type supported.
|
boolean |
TransportService.addressSupported(Class<? extends TransportAddress> address) |
Constructor and Description |
---|
ActionTransportException(String name,
TransportAddress address,
String action,
String msg,
Throwable cause) |
ActionTransportException(String name,
TransportAddress address,
String action,
Throwable cause) |
RemoteTransportException(String name,
TransportAddress address,
String action,
Throwable cause) |
Modifier and Type | Method and Description |
---|---|
TransportAddress[] |
LocalTransport.addressesFromString(String address,
int perAddressLimit) |
Modifier and Type | Method and Description |
---|---|
boolean |
LocalTransport.addressSupported(Class<? extends TransportAddress> address) |
Modifier and Type | Method and Description |
---|---|
TransportAddress[] |
NettyTransport.addressesFromString(String address,
int perAddressLimit) |
Modifier and Type | Method and Description |
---|---|
boolean |
NettyTransport.addressSupported(Class<? extends TransportAddress> address) |
Copyright © 2009–2016. All rights reserved.