Package | Description |
---|---|
org.elasticsearch.index.store |
Modifier and Type | Field and Description |
---|---|
static Store.MetadataSnapshot |
Store.MetadataSnapshot.EMPTY |
Modifier and Type | Method and Description |
---|---|
Store.MetadataSnapshot |
Store.getMetadata()
Returns a new MetadataSnapshot for the latest commit in this store.
|
Store.MetadataSnapshot |
Store.getMetadata(org.apache.lucene.index.IndexCommit commit)
Returns a new MetadataSnapshot for the given commit.
|
Store.MetadataSnapshot |
Store.getMetadataOrEmpty()
Returns a new MetadataSnapshot for the latest commit in this store or
an empty snapshot if no index exists or can not be opened.
|
static Store.MetadataSnapshot |
Store.MetadataSnapshot.read(StreamInput in) |
static Store.MetadataSnapshot |
Store.readMetadataSnapshot(File[] indexLocations,
ESLogger logger)
Reads a MetadataSnapshot from the given index locations or returns an empty snapshot if it can't be read.
|
Modifier and Type | Method and Description |
---|---|
void |
Store.cleanupAndVerify(String reason,
Store.MetadataSnapshot sourceMetaData)
This method deletes every file in this store that is not contained in the given source meta data or is a
legacy checksum file.
|
Store.RecoveryDiff |
Store.MetadataSnapshot.recoveryDiff(Store.MetadataSnapshot recoveryTargetSnapshot)
Returns a diff between the two snapshots that can be used for recovery.
|
Copyright © 2009–2015. All rights reserved.