| Package | Description |
|---|---|
| org.elasticsearch.index.snapshots.blobstore |
| Modifier and Type | Method and Description |
|---|---|
BlobStoreIndexShardSnapshot.FileInfo |
BlobStoreIndexShardSnapshot.findNameFile(String name)
Returns true if this snapshot contains a file with a given name
|
BlobStoreIndexShardSnapshot.FileInfo |
BlobStoreIndexShardSnapshots.findNameFile(String name)
Finds reference to a snapshotted file by its snapshot name
|
BlobStoreIndexShardSnapshot.FileInfo |
BlobStoreIndexShardSnapshot.findPhysicalIndexFile(String physicalName) |
BlobStoreIndexShardSnapshot.FileInfo |
BlobStoreIndexShardSnapshots.findPhysicalIndexFile(String physicalName)
Finds reference to a snapshotted file by its original name
|
static BlobStoreIndexShardSnapshot.FileInfo |
BlobStoreIndexShardSnapshot.FileInfo.fromXContent(XContentParser parser)
Parses JSON that represents file info
|
| Modifier and Type | Method and Description |
|---|---|
com.google.common.collect.ImmutableList<BlobStoreIndexShardSnapshot.FileInfo> |
BlobStoreIndexShardSnapshot.indexFiles()
Returns list of files in the shard
|
| Modifier and Type | Method and Description |
|---|---|
static void |
BlobStoreIndexShardSnapshot.FileInfo.toXContent(BlobStoreIndexShardSnapshot.FileInfo file,
XContentBuilder builder,
ToXContent.Params params)
Serializes file info into JSON
|
| Constructor and Description |
|---|
BlobStoreIndexShardSnapshot(String snapshot,
long indexVersion,
List<BlobStoreIndexShardSnapshot.FileInfo> indexFiles,
long startTime,
long time,
int numberOfFiles,
long totalSize)
Constructs new shard snapshot metadata from snapshot metadata
|
Copyright © 2009–2016. All rights reserved.