public int getNumberOfIndexedBuckets() {
    synchronized (bucketIndexes) {
      int size = 0;
      for (List<Index> indexList : bucketIndexes.values()) {
        size += indexList.size();
      }
      return size;
    }
  }
Returns the number of locally indexed buckets.

@return int number of buckets.
geode-core/src/main/java/org/apache/geode/cache/query/internal/index/PartitionedIndex.java