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,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.EmptyNested 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 intidZenPing.PingResponsepingResponseorg.elasticsearch.common.unit.TimeValuetimeout -
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 voidwriteTo(StreamOutput out)Write this into the StreamOutput.Methods inherited from class org.elasticsearch.transport.TransportRequest
getParentTask, setParentTaskMethods inherited from class org.elasticsearch.transport.TransportMessage
remoteAddress, remoteAddressMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:WriteableWrite this into the StreamOutput.- Specified by:
writeToin interfaceWriteable- Overrides:
writeToin classTransportRequest- Throws:
java.io.IOException
-