public class PendingClusterTasksResponse extends ActionResponse implements Iterable<PendingClusterTask>, ToXContent
TransportResponse.EmptyToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsheadersEMPTY_PARAMS| Modifier and Type | Method and Description |
|---|---|
List<PendingClusterTask> |
getPendingTasks()
The pending cluster tasks
|
Iterator<PendingClusterTask> |
iterator() |
List<PendingClusterTask> |
pendingTasks() |
String |
prettyPrint() |
void |
readFrom(StreamInput in) |
String |
toString() |
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
void |
writeTo(StreamOutput out) |
remoteAddress, remoteAddresscontextSize, copyContextAndHeadersFrom, copyContextFrom, copyHeadersFrom, getContext, getFromContext, getFromContext, getHeader, getHeaders, hasHeader, hasInContext, isContextEmpty, putAllInContext, putHeader, putInContextpublic List<PendingClusterTask> pendingTasks()
public List<PendingClusterTask> getPendingTasks()
public Iterator<PendingClusterTask> iterator()
iterator in interface Iterable<PendingClusterTask>public String prettyPrint()
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
toXContent in interface ToXContentIOExceptionpublic 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–2017. All rights reserved.