public class BaseTasksResponse extends ActionResponse
TransportResponse.Emptyheaders| Constructor and Description |
|---|
BaseTasksResponse() |
BaseTasksResponse(List<TaskOperationFailure> taskFailures,
List<? extends FailedNodeException> nodeFailures) |
| Modifier and Type | Method and Description |
|---|---|
List<FailedNodeException> |
getNodeFailures()
The list of node failures exception.
|
List<TaskOperationFailure> |
getTaskFailures()
The list of task failures exception.
|
void |
readFrom(StreamInput in) |
void |
writeTo(StreamOutput out) |
remoteAddress, remoteAddresscontextSize, copyContextAndHeadersFrom, copyContextFrom, copyHeadersFrom, getContext, getFromContext, getFromContext, getHeader, getHeaders, hasHeader, hasInContext, isContextEmpty, putAllInContext, putHeader, putInContextpublic BaseTasksResponse()
public BaseTasksResponse(List<TaskOperationFailure> taskFailures, List<? extends FailedNodeException> nodeFailures)
public List<TaskOperationFailure> getTaskFailures()
public List<FailedNodeException> getNodeFailures()
public void readFrom(StreamInput in) throws IOException
readFrom in interface StreamablereadFrom in class ActionResponseIOExceptionpublic void writeTo(StreamOutput out) throws IOException
writeTo in interface StreamablewriteTo in class ActionResponseIOExceptionCopyright © 2009–2016. All rights reserved.