Streamable, WriteableListTasksResponsepublic class BaseTasksResponse extends ActionResponse
TransportResponse.EmptyWriteable.Reader<V>, Writeable.Writer<V>| Constructor | Description |
|---|---|
BaseTasksResponse(java.util.List<TaskOperationFailure> taskFailures,
java.util.List<? extends FailedNodeException> nodeFailures) |
| Modifier and Type | Method | Description |
|---|---|---|
java.util.List<FailedNodeException> |
getNodeFailures() |
The list of node failures exception.
|
java.util.List<TaskOperationFailure> |
getTaskFailures() |
The list of task failures exception.
|
void |
readFrom(StreamInput in) |
Set this object's fields from a StreamInput.
|
void |
rethrowFailures(java.lang.String operationName) |
Rethrow task failures if there are any.
|
void |
writeTo(StreamOutput out) |
Write this object's fields to a StreamOutput.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitnewWriteableReaderremoteAddress, remoteAddresspublic BaseTasksResponse(java.util.List<TaskOperationFailure> taskFailures, java.util.List<? extends FailedNodeException> nodeFailures)
public java.util.List<TaskOperationFailure> getTaskFailures()
public java.util.List<FailedNodeException> getNodeFailures()
public void rethrowFailures(java.lang.String operationName)
public void readFrom(StreamInput in) throws java.io.IOException
StreamablereadFrom in interface StreamablereadFrom in class ActionResponsejava.io.IOExceptionpublic void writeTo(StreamOutput out) throws java.io.IOException
StreamablewriteTo in interface StreamablewriteTo in interface WriteablewriteTo in class ActionResponsejava.io.IOException