public class RestoreIndexSnapshotMaintenanceTask extends Object implements SystemMaintenanceTask
SystemMaintenanceTask
that is created when a node uploads a snapshot of its index to be used by
other nodes in the cluster to replace their indexes.Modifier and Type | Class and Description |
---|---|
static class |
RestoreIndexSnapshotMaintenanceTask.IndexSnapshot
Hold an index snapshot
|
Constructor and Description |
---|
RestoreIndexSnapshotMaintenanceTask(String sourceNodeId,
Collection<RestoreIndexSnapshotMaintenanceTask.IndexSnapshot> indexSnapshots) |
Modifier and Type | Method and Description |
---|---|
Collection<RestoreIndexSnapshotMaintenanceTask.IndexSnapshot> |
getIndexSnapshots() |
String |
getSourceNodeId() |
public RestoreIndexSnapshotMaintenanceTask(String sourceNodeId, Collection<RestoreIndexSnapshotMaintenanceTask.IndexSnapshot> indexSnapshots)
public String getSourceNodeId()
public Collection<RestoreIndexSnapshotMaintenanceTask.IndexSnapshot> getIndexSnapshots()
Copyright © 2003–2020 Atlassian. All rights reserved.