Class ClusterStatsIndices.ShardStats

    • Constructor Detail

      • ShardStats

        public ShardStats()
    • Method Detail

      • getIndices

        public int getIndices()
        number of indices in the cluster
      • getTotal

        public int getTotal()
        total number of shards in the cluster
      • getPrimaries

        public int getPrimaries()
        total number of primary shards in the cluster
      • getReplication

        public double getReplication()
        returns how many *redundant* copies of the data the cluster holds - running with no replicas will return 0
      • getMaxIndexShards

        public int getMaxIndexShards()
        the maximum number of shards (primary+replicas) an index has
      • getMinIndexShards

        public int getMinIndexShards()
        the minimum number of shards (primary+replicas) an index has
      • getAvgIndexShards

        public double getAvgIndexShards()
        average number of shards (primary+replicas) across the indices
      • getMaxIndexPrimaryShards

        public int getMaxIndexPrimaryShards()
        the maximum number of primary shards an index has
      • getMinIndexPrimaryShards

        public int getMinIndexPrimaryShards()
        the minimum number of primary shards an index has
      • getAvgIndexPrimaryShards

        public double getAvgIndexPrimaryShards()
        the average number primary shards across the indices
      • getMinIndexReplication

        public double getMinIndexReplication()
        minimum replication factor across the indices. See getReplication()
      • getAvgIndexReplication

        public double getAvgIndexReplication()
        average replication factor across the indices. See getReplication()
      • getMaxIndexReplication

        public double getMaxIndexReplication()
        maximum replication factor across the indices. See getReplication()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object