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 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.String
getFailure()
int
getIncrementalFileCount()
long
getIncrementalSize()
long
getIndexVersion()
int
getProcessedFileCount()
long
getProcessedSize()
IndexShardSnapshotStatus.Stage
getStage()
long
getStartTime()
int
getTotalFileCount()
long
getTotalSize()
long
getTotalTime()
java.lang.String
toString()
-
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
-
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 classjava.lang.Object
-