Class IndexShardSnapshotStatus.Copy
- java.lang.Object
-
- org.elasticsearch.index.snapshots.IndexShardSnapshotStatus.Copy
-
- Enclosing class:
- IndexShardSnapshotStatus
public static class IndexShardSnapshotStatus.Copy extends java.lang.ObjectReturns an immutable state ofIndexShardSnapshotStatusat a given point in time.
-
-
Constructor Summary
Constructors Constructor Description 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 Summary
Modifier and Type Method Description java.lang.StringgetFailure()intgetIncrementalFileCount()longgetIncrementalSize()longgetIndexVersion()intgetProcessedFileCount()longgetProcessedSize()IndexShardSnapshotStatus.StagegetStage()longgetStartTime()intgetTotalFileCount()longgetTotalSize()longgetTotalTime()java.lang.StringtoString()
-
-
-
Constructor Detail
-
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 Detail
-
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:
toStringin classjava.lang.Object
-
-