public class ShardsSyncedFlushResult extends Object
Constructor and Description |
---|
ShardsSyncedFlushResult() |
ShardsSyncedFlushResult(ShardId shardId,
int totalShards,
String failureReason)
failure constructor
|
ShardsSyncedFlushResult(ShardId shardId,
String syncId,
int totalShards,
Map<ShardRouting,SyncedFlushService.SyncedFlushResponse> shardResponses)
success constructor
|
Modifier and Type | Method and Description |
---|---|
boolean |
failed() |
Map<ShardRouting,SyncedFlushService.SyncedFlushResponse> |
failedShards() |
String |
failureReason() |
ShardId |
getShardId() |
ShardId |
shardId() |
Map<ShardRouting,SyncedFlushService.SyncedFlushResponse> |
shardResponses() |
int |
successfulShards() |
String |
syncId() |
int |
totalShards() |
public ShardsSyncedFlushResult()
public ShardsSyncedFlushResult(ShardId shardId, int totalShards, String failureReason)
public ShardsSyncedFlushResult(ShardId shardId, String syncId, int totalShards, Map<ShardRouting,SyncedFlushService.SyncedFlushResponse> shardResponses)
public ShardId getShardId()
public boolean failed()
failureReason()
can be used for
more detailspublic String failureReason()
public String syncId()
public int totalShards()
public int successfulShards()
public Map<ShardRouting,SyncedFlushService.SyncedFlushResponse> failedShards()
public Map<ShardRouting,SyncedFlushService.SyncedFlushResponse> shardResponses()
public ShardId shardId()
Copyright © 2009–2016. All rights reserved.