Uses of Class
org.elasticsearch.action.admin.cluster.snapshots.create.CreateSnapshotRequest
-
Packages that use CreateSnapshotRequest Package Description org.elasticsearch.action.admin.cluster.snapshots.create org.elasticsearch.client org.elasticsearch.snapshots -
-
Uses of CreateSnapshotRequest in org.elasticsearch.action.admin.cluster.snapshots.create
Methods in org.elasticsearch.action.admin.cluster.snapshots.create that return CreateSnapshotRequest Modifier and Type Method Description CreateSnapshotRequestCreateSnapshotRequest. includeGlobalState(boolean includeGlobalState)Set to true if global state should be stored as part of the snapshotCreateSnapshotRequestCreateSnapshotRequest. indices(String... indices)Sets a list of indices that should be included into the snapshotCreateSnapshotRequestCreateSnapshotRequest. indices(List<String> indices)Sets a list of indices that should be included into the snapshotCreateSnapshotRequestCreateSnapshotRequest. indicesOptions(IndicesOptions indicesOptions)Specifies the indices options.CreateSnapshotRequestCreateSnapshotRequest. partial(boolean partial)Set to true to allow indices with unavailable shards to be partially snapshotted.CreateSnapshotRequestCreateSnapshotRequest. repository(String repository)Sets repository nameCreateSnapshotRequestCreateSnapshotRequest. settings(String source, XContentType xContentType)Sets repository-specific snapshot settings in JSON or YAML formatCreateSnapshotRequestCreateSnapshotRequest. settings(Map<String,Object> source)Sets repository-specific snapshot settings.CreateSnapshotRequestCreateSnapshotRequest. settings(Settings settings)Sets repository-specific snapshot settings.CreateSnapshotRequestCreateSnapshotRequest. settings(Settings.Builder settings)Sets repository-specific snapshot settings.CreateSnapshotRequestCreateSnapshotRequest. snapshot(String snapshot)Sets the snapshot nameCreateSnapshotRequestCreateSnapshotRequest. source(Map<String,Object> source)Parses snapshot definition.CreateSnapshotRequestCreateSnapshotRequest. userMetadata(Map<String,Object> userMetadata)CreateSnapshotRequestCreateSnapshotRequest. waitForCompletion(boolean waitForCompletion)If set to true the operation should wait for the snapshot completion before returning.Methods in org.elasticsearch.action.admin.cluster.snapshots.create with parameters of type CreateSnapshotRequest Modifier and Type Method Description protected ClusterBlockExceptionTransportCreateSnapshotAction. checkBlock(CreateSnapshotRequest request, ClusterState state)protected voidTransportCreateSnapshotAction. masterOperation(CreateSnapshotRequest request, ClusterState state, ActionListener<CreateSnapshotResponse> listener) -
Uses of CreateSnapshotRequest in org.elasticsearch.client
Methods in org.elasticsearch.client that return CreateSnapshotRequest Modifier and Type Method Description static CreateSnapshotRequestRequests. createSnapshotRequest(String repository, String snapshot)Creates new snapshotMethods in org.elasticsearch.client with parameters of type CreateSnapshotRequest Modifier and Type Method Description CreateSnapshotResponseSnapshotClient. create(CreateSnapshotRequest createSnapshotRequest, RequestOptions options)Creates a snapshot.CancellableSnapshotClient. createAsync(CreateSnapshotRequest createSnapshotRequest, RequestOptions options, ActionListener<CreateSnapshotResponse> listener)Asynchronously creates a snapshot.ActionFuture<CreateSnapshotResponse>ClusterAdminClient. createSnapshot(CreateSnapshotRequest request)Creates a new snapshot.voidClusterAdminClient. createSnapshot(CreateSnapshotRequest request, ActionListener<CreateSnapshotResponse> listener)Creates a new snapshot. -
Uses of CreateSnapshotRequest in org.elasticsearch.snapshots
Methods in org.elasticsearch.snapshots with parameters of type CreateSnapshotRequest Modifier and Type Method Description voidSnapshotsService. createSnapshot(CreateSnapshotRequest request, ActionListener<Snapshot> listener)Initializes the snapshotting process.voidSnapshotsService. executeSnapshot(CreateSnapshotRequest request, ActionListener<SnapshotInfo> listener)Same asSnapshotsService.createSnapshot(CreateSnapshotRequest, ActionListener)but invokes its callback on completion of the snapshot.
-