APISonar


org.elasticsearch.index.snapshots.blobstore.BlobStoreIndexShardSnapshot.time

> org > elasticsearch > index > snapshots > blobstore > BlobStoreIndexShardSnapshot > time
org APIs elasticsearch APIs index APIs snapshots APIs blobstore APIs BlobStoreIndexShardSnapshot APIs time APIs

Example 1
public IndexShardSnapshotStatus getShardSnapshotStatus(SnapshotId snapshotId, Version version, IndexId indexId, ShardId shardId) {
        BlobStoreIndexShardSnapshot snapshot = loadShardSnapshot(shardContainer(indexId, shardId), snapshotId);
        return IndexShardSnapshotStatus.newDone(snapshot.startTime(), snapshot.time(),
            snapshot.incrementalFileCount(), snapshot.totalFileCount(),
            snapshot.incrementalSize(), snapshot.totalSize());
    }