Package org.elasticsearch.discovery.zen
Class UnicastZenPing.PingingRound
- java.lang.Object
-
- org.elasticsearch.discovery.zen.UnicastZenPing.PingingRound
-
- All Implemented Interfaces:
java.io.Closeable
,java.lang.AutoCloseable
,Releasable
- Enclosing class:
- UnicastZenPing
protected class UnicastZenPing.PingingRound extends java.lang.Object implements Releasable
-
-
Method Summary
Modifier and Type Method Description void
addPingResponseToCollection(ZenPing.PingResponse pingResponse)
void
close()
ConnectionProfile
getConnectionProfile()
Transport.Connection
getOrConnect(DiscoveryNode node)
java.util.List<TransportAddress>
getSeedAddresses()
int
id()
boolean
isClosed()
-
-
-
Method Detail
-
id
public int id()
-
isClosed
public boolean isClosed()
-
getSeedAddresses
public java.util.List<TransportAddress> getSeedAddresses()
-
getOrConnect
public Transport.Connection getOrConnect(DiscoveryNode node) throws java.io.IOException
- Throws:
java.io.IOException
-
addPingResponseToCollection
public void addPingResponseToCollection(ZenPing.PingResponse pingResponse)
-
close
public void close()
- Specified by:
close
in interfacejava.lang.AutoCloseable
- Specified by:
close
in interfacejava.io.Closeable
- Specified by:
close
in interfaceReleasable
-
getConnectionProfile
public ConnectionProfile getConnectionProfile()
-
-