Class SyncedFlushResponse

    • Constructor Detail

      • SyncedFlushResponse

        public SyncedFlushResponse​(java.util.Map<java.lang.String,​java.util.List<ShardsSyncedFlushResult>> shardsResultPerIndex)
      • SyncedFlushResponse

        public SyncedFlushResponse​(StreamInput in)
                            throws java.io.IOException
        Throws:
        java.io.IOException
    • Method Detail

      • totalShards

        public int totalShards()
        total number shards, including replicas, both assigned and unassigned
      • failedShards

        public int failedShards()
        total number of shards for which the operation failed
      • successfulShards

        public int successfulShards()
        total number of shards which were successfully sync-flushed
      • getShardsResultPerIndex

        public java.util.Map<java.lang.String,​java.util.List<ShardsSyncedFlushResult>> getShardsResultPerIndex()