public class CancelTasksRequest extends BaseTasksRequest<CancelTasksRequest>
TransportRequest.Empty| 修飾子とタイプ | フィールドと説明 |
|---|---|
static String |
DEFAULT_REASON |
ALL_ACTIONS, ALL_NODES, ALL_TASKSheaders| コンストラクタと説明 |
|---|
CancelTasksRequest() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
String |
getReason()
The reason for canceling the task.
|
boolean |
match(Task task) |
void |
readFrom(StreamInput in) |
CancelTasksRequest |
setReason(String reason)
Set the reason for canceling the task.
|
void |
writeTo(StreamOutput out) |
getActions, getNodesIds, getParentTaskId, getTaskId, getTimeout, setActions, setNodesIds, setParentTaskId, setTaskId, setTimeout, setTimeout, validatecreateTask, getDescriptionremoteAddress, remoteAddresscontextSize, copyContextAndHeadersFrom, copyContextFrom, copyHeadersFrom, getContext, getFromContext, getFromContext, getHeader, getHeaders, hasHeader, hasInContext, isContextEmpty, putAllInContext, putHeader, putInContextpublic void readFrom(StreamInput in) throws IOException
readFrom インタフェース内 StreamablereadFrom クラス内 BaseTasksRequest<CancelTasksRequest>IOExceptionpublic void writeTo(StreamOutput out) throws IOException
writeTo インタフェース内 StreamablewriteTo クラス内 BaseTasksRequest<CancelTasksRequest>IOExceptionpublic boolean match(Task task)
match クラス内 BaseTasksRequest<CancelTasksRequest>public CancelTasksRequest setReason(String reason)
public String getReason()
Copyright © 2009–2016. All rights reserved.