Class Store.RecoveryDiff

org.elasticsearch.index.store.Store.RecoveryDiff
Enclosing class:
Store

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

    Fields
    Modifier and Type
    Field
    Description
    Files that exist in both snapshots but their they are not identical
    Files that exist in both snapshots and they can be considered the same ie.
    Files that exist in the source but not in the target
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Returns the sum of the files in this diff.
     

    Methods inherited from class java.lang.

    , , , , , , , , ,
  • Field Details

    • identical

      public final <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 <StoreFileMetadata> different
      Files that exist in both snapshots but their they are not identical
    • missing

      public final <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  toString()
      Overrides:
       in class