public class BroadcastResponse extends ActionResponse
TransportResponse.Emptyheaders| コンストラクタと説明 |
|---|
BroadcastResponse() |
BroadcastResponse(int totalShards,
int successfulShards,
int failedShards,
List<? extends ShardOperationFailedException> shardFailures) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
int |
getFailedShards()
The failed shards this request was executed on.
|
ShardOperationFailedException[] |
getShardFailures()
The list of shard failures exception.
|
int |
getSuccessfulShards()
The successful shards this request was executed on.
|
int |
getTotalShards()
The total shards this request ran against.
|
void |
readFrom(StreamInput in) |
void |
writeTo(StreamOutput out) |
remoteAddress, remoteAddresscontextSize, copyContextAndHeadersFrom, copyContextFrom, copyHeadersFrom, getContext, getFromContext, getFromContext, getHeader, getHeaders, hasHeader, hasInContext, isContextEmpty, putAllInContext, putHeader, putInContextpublic BroadcastResponse()
public BroadcastResponse(int totalShards,
int successfulShards,
int failedShards,
List<? extends ShardOperationFailedException> shardFailures)
public int getTotalShards()
public int getSuccessfulShards()
public int getFailedShards()
public ShardOperationFailedException[] getShardFailures()
public void readFrom(StreamInput in) throws IOException
readFrom インタフェース内 StreamablereadFrom クラス内 ActionResponseIOExceptionpublic void writeTo(StreamOutput out) throws IOException
writeTo インタフェース内 StreamablewriteTo クラス内 ActionResponseIOExceptionCopyright © 2009–2016. All rights reserved.