|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.elasticsearch.action.support.broadcast.BroadcastOperationResponse
public abstract class BroadcastOperationResponse
Base class for all broadcast operation based responses.
Constructor Summary | |
---|---|
protected |
BroadcastOperationResponse()
|
protected |
BroadcastOperationResponse(int totalShards,
int successfulShards,
int failedShards,
java.util.List<ShardOperationFailedException> shardFailures)
|
Method Summary | |
---|---|
int |
failedShards()
The failed shards this request was executed on. |
int |
getFailedShards()
The failed shards this request was executed on. |
java.util.List<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)
|
java.util.List<? extends ShardOperationFailedException> |
shardFailures()
The list of shard failures exception. |
int |
successfulShards()
The successful shards this request was executed on. |
int |
totalShards()
The total shards this request ran against. |
void |
writeTo(StreamOutput out)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected BroadcastOperationResponse()
protected BroadcastOperationResponse(int totalShards, int successfulShards, int failedShards, java.util.List<ShardOperationFailedException> shardFailures)
Method Detail |
---|
public int totalShards()
public int getTotalShards()
public int successfulShards()
public int getSuccessfulShards()
public int failedShards()
public int getFailedShards()
public java.util.List<? extends ShardOperationFailedException> shardFailures()
public java.util.List<ShardOperationFailedException> getShardFailures()
public void readFrom(StreamInput in) throws java.io.IOException
readFrom
in interface Streamable
java.io.IOException
public void writeTo(StreamOutput out) throws java.io.IOException
writeTo
in interface Streamable
java.io.IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |