Class IndexShardSnapshotStatus.Copy

java.lang.Object
org.elasticsearch.index.snapshots.IndexShardSnapshotStatus.Copy
Enclosing class:
IndexShardSnapshotStatus

public static class IndexShardSnapshotStatus.Copy
extends java.lang.Object
Returns an immutable state of IndexShardSnapshotStatus at a given point in time.
  • Constructor Details

    • Copy

      public Copy​(IndexShardSnapshotStatus.Stage stage, long startTime, long totalTime, int incrementalFileCount, int totalFileCount, int processedFileCount, long incrementalSize, long totalSize, long processedSize, long indexVersion, java.lang.String failure)
  • Method Details

    • getStage

      public IndexShardSnapshotStatus.Stage getStage()
    • getStartTime

      public long getStartTime()
    • getTotalTime

      public long getTotalTime()
    • getIncrementalFileCount

      public int getIncrementalFileCount()
    • getTotalFileCount

      public int getTotalFileCount()
    • getProcessedFileCount

      public int getProcessedFileCount()
    • getIncrementalSize

      public long getIncrementalSize()
    • getTotalSize

      public long getTotalSize()
    • getProcessedSize

      public long getProcessedSize()
    • getIndexVersion

      public long getIndexVersion()
    • getFailure

      public java.lang.String getFailure()
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object