Package org.elasticsearch.discovery.zen
Class UnicastZenPing.UnicastPingRequest
java.lang.Object
org.elasticsearch.transport.TransportMessage
org.elasticsearch.transport.TransportRequest
org.elasticsearch.discovery.zen.UnicastZenPing.UnicastPingRequest
- All Implemented Interfaces:
Writeable
,org.elasticsearch.common.util.concurrent.RefCounted
,TaskAwareRequest
- Enclosing class:
- UnicastZenPing
public static class UnicastZenPing.UnicastPingRequest extends TransportRequest
-
Nested Class Summary
Nested classes/interfaces inherited from class org.elasticsearch.transport.TransportRequest
TransportRequest.Empty
Nested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V>
-
Field Summary
Fields Modifier and Type Field Description int
id
ZenPing.PingResponse
pingResponse
org.elasticsearch.common.unit.TimeValue
timeout
-
Constructor Summary
Constructors Constructor Description UnicastPingRequest(int id, org.elasticsearch.common.unit.TimeValue timeout, ZenPing.PingResponse pingResponse)
UnicastPingRequest(StreamInput in)
-
Method Summary
Modifier and Type Method Description void
writeTo(StreamOutput out)
Write this into the StreamOutput.Methods inherited from class org.elasticsearch.transport.TransportRequest
getParentTask, setParentTask, toString
Methods inherited from class org.elasticsearch.transport.TransportMessage
decRef, incRef, remoteAddress, remoteAddress, tryIncRef
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.elasticsearch.tasks.TaskAwareRequest
createTask, getDescription, setParentTask
-
Field Details
-
id
public final int id -
timeout
public final org.elasticsearch.common.unit.TimeValue timeout -
pingResponse
-
-
Constructor Details
-
UnicastPingRequest
public UnicastPingRequest(int id, org.elasticsearch.common.unit.TimeValue timeout, ZenPing.PingResponse pingResponse) -
UnicastPingRequest
- Throws:
java.io.IOException
-
-
Method Details
-
writeTo
Description copied from interface:Writeable
Write this into the StreamOutput.- Specified by:
writeTo
in interfaceWriteable
- Overrides:
writeTo
in classTransportRequest
- Throws:
java.io.IOException
-