public class BaseTasksResponse extends ActionResponse
TransportResponse.Empty
Constructor and Description |
---|
BaseTasksResponse(java.util.List<TaskOperationFailure> taskFailures,
java.util.List<? extends FailedNodeException> nodeFailures) |
Modifier and Type | Method and 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.
|
remoteAddress, remoteAddress
public 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
Streamable
readFrom
in interface Streamable
readFrom
in class ActionResponse
java.io.IOException
public void writeTo(StreamOutput out) throws java.io.IOException
Streamable
writeTo
in interface Streamable
writeTo
in class ActionResponse
java.io.IOException