Package | Description |
---|---|
org.elasticsearch.action.admin.cluster.snapshots.create | |
org.elasticsearch.client |
The client module allowing to easily perform actions/operations.
|
Modifier and Type | Method and Description |
---|---|
CreateSnapshotRequest |
CreateSnapshotRequest.includeGlobalState(boolean includeGlobalState)
Set to true if global state should be stored as part of the snapshot
|
CreateSnapshotRequest |
CreateSnapshotRequest.indices(List<String> indices)
Sets a list of indices that should be included into the snapshot
|
CreateSnapshotRequest |
CreateSnapshotRequest.indices(String... indices)
Sets a list of indices that should be included into the snapshot
|
CreateSnapshotRequest |
CreateSnapshotRequest.indicesOptions(IndicesOptions indicesOptions)
Specifies the indices options.
|
CreateSnapshotRequest |
CreateSnapshotRequest.partial(boolean partial)
Set to true to allow indices with unavailable shards to be partially snapshotted.
|
CreateSnapshotRequest |
CreateSnapshotRequest.repository(String repository)
Sets repository name
|
CreateSnapshotRequest |
CreateSnapshotRequest.settings(Map<String,Object> source)
Sets repository-specific snapshot settings.
|
CreateSnapshotRequest |
CreateSnapshotRequest.settings(Settings.Builder settings)
Sets repository-specific snapshot settings.
|
CreateSnapshotRequest |
CreateSnapshotRequest.settings(Settings settings)
Sets repository-specific snapshot settings.
|
CreateSnapshotRequest |
CreateSnapshotRequest.settings(String source)
Sets repository-specific snapshot settings in JSON, YAML or properties format
|
CreateSnapshotRequest |
CreateSnapshotRequest.snapshot(String snapshot)
Sets the snapshot name
|
CreateSnapshotRequest |
CreateSnapshotRequest.source(byte[] source)
Parses snapshot definition.
|
CreateSnapshotRequest |
CreateSnapshotRequest.source(byte[] source,
int offset,
int length)
Parses snapshot definition.
|
CreateSnapshotRequest |
CreateSnapshotRequest.source(BytesReference source)
Parses snapshot definition.
|
CreateSnapshotRequest |
CreateSnapshotRequest.source(Map source)
Parses snapshot definition.
|
CreateSnapshotRequest |
CreateSnapshotRequest.source(String source)
Parses snapshot definition.
|
CreateSnapshotRequest |
CreateSnapshotRequest.source(XContentBuilder source)
Parses snapshot definition.
|
CreateSnapshotRequest |
CreateSnapshotRequest.waitForCompletion(boolean waitForCompletion)
If set to true the operation should wait for the snapshot completion before returning.
|
Modifier and Type | Method and Description |
---|---|
protected ClusterBlockException |
TransportCreateSnapshotAction.checkBlock(CreateSnapshotRequest request,
ClusterState state) |
protected void |
TransportCreateSnapshotAction.masterOperation(CreateSnapshotRequest request,
ClusterState state,
ActionListener<CreateSnapshotResponse> listener) |
Modifier and Type | Method and Description |
---|---|
static CreateSnapshotRequest |
Requests.createSnapshotRequest(String repository,
String snapshot)
Creates new snapshot
|
Modifier and Type | Method and Description |
---|---|
ActionFuture<CreateSnapshotResponse> |
ClusterAdminClient.createSnapshot(CreateSnapshotRequest request)
Creates a new snapshot.
|
void |
ClusterAdminClient.createSnapshot(CreateSnapshotRequest request,
ActionListener<CreateSnapshotResponse> listener)
Creates a new snapshot.
|
Copyright © 2009–2016. All rights reserved.