Class AckWatchResponse
- java.lang.Object
-
- org.elasticsearch.transport.TransportMessage
-
- org.elasticsearch.transport.TransportResponse
-
- org.elasticsearch.action.ActionResponse
-
- org.elasticsearch.action.support.nodes.BaseNodesResponse<TransportAckWatchAction.NodeResponse>
-
- com.floragunn.signals.actions.watch.ack.AckWatchResponse
-
- All Implemented Interfaces:
org.elasticsearch.common.io.stream.Writeable,org.elasticsearch.common.util.concurrent.RefCounted
public class AckWatchResponse extends org.elasticsearch.action.support.nodes.BaseNodesResponse<TransportAckWatchAction.NodeResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAckWatchResponse.Status
-
Constructor Summary
Constructors Constructor Description AckWatchResponse(org.elasticsearch.cluster.ClusterName clusterName, List<TransportAckWatchAction.NodeResponse> nodes, List<org.elasticsearch.action.FailedNodeException> failures)AckWatchResponse(org.elasticsearch.common.io.stream.StreamInput in)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AckWatchResponse.StatusgetStatus()StringgetStatusMessage()List<TransportAckWatchAction.NodeResponse>readNodesFrom(org.elasticsearch.common.io.stream.StreamInput in)StringtoString()voidwriteNodesTo(org.elasticsearch.common.io.stream.StreamOutput out, List<TransportAckWatchAction.NodeResponse> nodes)-
Methods inherited from class org.elasticsearch.action.support.nodes.BaseNodesResponse
failures, getClusterName, getNodes, getNodesMap, hasFailures, writeTo
-
-
-
-
Constructor Detail
-
AckWatchResponse
public AckWatchResponse(org.elasticsearch.cluster.ClusterName clusterName, List<TransportAckWatchAction.NodeResponse> nodes, List<org.elasticsearch.action.FailedNodeException> failures)
-
AckWatchResponse
public AckWatchResponse(org.elasticsearch.common.io.stream.StreamInput in) throws IOException- Throws:
IOException
-
-
Method Detail
-
readNodesFrom
public List<TransportAckWatchAction.NodeResponse> readNodesFrom(org.elasticsearch.common.io.stream.StreamInput in) throws IOException
- Specified by:
readNodesFromin classorg.elasticsearch.action.support.nodes.BaseNodesResponse<TransportAckWatchAction.NodeResponse>- Throws:
IOException
-
writeNodesTo
public void writeNodesTo(org.elasticsearch.common.io.stream.StreamOutput out, List<TransportAckWatchAction.NodeResponse> nodes) throws IOException- Specified by:
writeNodesToin classorg.elasticsearch.action.support.nodes.BaseNodesResponse<TransportAckWatchAction.NodeResponse>- Throws:
IOException
-
getStatus
public AckWatchResponse.Status getStatus()
-
getStatusMessage
public String getStatusMessage()
-
-