Class Store.RecoveryDiff

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

public static final class Store.RecoveryDiff
extends java.lang.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 Summary

    Fields
    Modifier and Type Field Description
    java.util.List<StoreFileMetadata> different
    Files that exist in both snapshots but their they are not identical
    java.util.List<StoreFileMetadata> identical
    Files that exist in both snapshots and they can be considered the same ie.
    java.util.List<StoreFileMetadata> missing
    Files that exist in the source but not in the target
  • Method Summary

    Modifier and Type Method Description
    int size()
    Returns the sum of the files in this diff.
    java.lang.String toString()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • identical

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

      public final java.util.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 java.lang.String toString()
      Overrides:
      toString in class java.lang.Object