@Override public DeleteSnapshotRequestBuilder newRequestBuilder(ElasticsearchClient client) { return new DeleteSnapshotRequestBuilder(client, this); } }
assertAcked(client().admin().cluster().prepareDeleteSnapshot(repoName, snapshotName).get());
DeleteSnapshotRequest req = clusterAdminClient.prepareDeleteSnapshot(repository, index).request(); clusterAdminClient.deleteSnapshot(req).actionGet(); info = null;
assertAcked(client().admin().cluster().prepareDeleteSnapshot(repoName, "test-snap").get());
@Override public DeleteSnapshotRequestBuilder prepareDeleteSnapshot(String repository, String name) { return new DeleteSnapshotRequestBuilder(this, DeleteSnapshotAction.INSTANCE, repository, name); }
assertAcked(client().admin().cluster().prepareDeleteSnapshot(repoName, snapshotName + "-" + i).get());
@Override public DeleteSnapshotRequestBuilder newRequestBuilder(ElasticsearchClient client) { return new DeleteSnapshotRequestBuilder(client, this); } }
@Override public DeleteSnapshotRequestBuilder newRequestBuilder(ElasticsearchClient client) { return new DeleteSnapshotRequestBuilder(client, this); } }
@Override public DeleteSnapshotRequestBuilder prepareDeleteSnapshot(String repository, String name) { return new DeleteSnapshotRequestBuilder(this, DeleteSnapshotAction.INSTANCE, repository, name); }
@Override public DeleteSnapshotRequestBuilder newRequestBuilder(ElasticsearchClient client) { return new DeleteSnapshotRequestBuilder(client, this); } }
@Override public DeleteSnapshotRequestBuilder prepareDeleteSnapshot(String repository, String name) { return new DeleteSnapshotRequestBuilder(this, DeleteSnapshotAction.INSTANCE, repository, name); }
@Override public DeleteSnapshotRequestBuilder newRequestBuilder(ElasticsearchClient client) { return new DeleteSnapshotRequestBuilder(client, this); } }
@Override public DeleteSnapshotRequestBuilder prepareDeleteSnapshot(String repository, String name) { return new DeleteSnapshotRequestBuilder(this, DeleteSnapshotAction.INSTANCE, repository, name); }