Class Store.RecoveryDiff

java.lang.Object
org.elasticsearch.index.store.Store.RecoveryDiff
Enclosing class:
Store

public static final class Store.RecoveryDiff extends Object
A class representing the diff between a recovery source and recovery target
See Also:
Store.MetadataSnapshot.recoveryDiff(org.elasticsearch.index.store.Store.MetadataSnapshot)
  • Field Details

    • identical

      public final List<StoreFileMetadata> identical
      Files that exist in both snapshots and they can be considered the same ie. they don't need to be recovered
    • different

      public final List<StoreFileMetadata> different
      Files that exist in both snapshots but their they are not identical
    • missing

      public final List<StoreFileMetadata> missing
      Files that exist in the source but not in the target
  • Method Details

    • size

      public int size()
      Returns the sum of the files in this diff.
    • toString

      public String toString()
      Overrides:
      toString in class Object