Class IndexGraveyard.Builder

  • Enclosing class:
    IndexGraveyard

    public static final class IndexGraveyard.Builder
    extends Object
    A class to build an IndexGraveyard.
    • Method Detail

      • addTombstone

        public IndexGraveyard.Builder addTombstone​(Index index)
        Add a deleted index to the list of tombstones in the cluster state.
      • getNumPurged

        public int getNumPurged()
        Get the number of tombstones that were purged. This should *only* be called after build() has been called.