Class DeleteCollectionSnapshot
- java.lang.Object
-
- org.apache.solr.api.JerseyResource
-
- org.apache.solr.handler.admin.api.AdminAPIBase
-
- org.apache.solr.handler.admin.api.DeleteCollectionSnapshot
-
- All Implemented Interfaces:
CollectionSnapshotApis.Delete
public class DeleteCollectionSnapshot extends AdminAPIBase implements CollectionSnapshotApis.Delete
V2 API impl for Deleting Collection Snapshots.
-
-
Field Summary
-
Fields inherited from class org.apache.solr.handler.admin.api.AdminAPIBase
coreContainer, solrQueryRequest, solrQueryResponse
-
Fields inherited from class org.apache.solr.api.JerseyResource
containerRequestContext
-
-
Constructor Summary
Constructors Constructor Description DeleteCollectionSnapshot(CoreContainer coreContainer, SolrQueryRequest solrQueryRequest, SolrQueryResponse solrQueryResponse)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static org.apache.solr.common.cloud.ZkNodePropscreateRemoteMessage(String collectionName, boolean followAliases, String snapshotName, String asyncId)DeleteCollectionSnapshotResponsedeleteCollectionSnapshot(String collName, String snapshotName, boolean followAliases, String asyncId)-
Methods inherited from class org.apache.solr.handler.admin.api.AdminAPIBase
disableResponseCaching, fetchAndValidateZooKeeperAwareCoreContainer, insertIfNotNull, recordCollectionForLogAndTracing, resolveAndValidateAliasIfEnabled, resolveCollectionName, submitRemoteMessageAndHandleResponse, validateZooKeeperAwareCoreContainer
-
Methods inherited from class org.apache.solr.api.JerseyResource
ensureRequiredParameterProvided, ensureRequiredRequestBodyProvided, instantiateJerseyResponse, instantiateJerseyResponse
-
-
-
-
Constructor Detail
-
DeleteCollectionSnapshot
@Inject public DeleteCollectionSnapshot(CoreContainer coreContainer, SolrQueryRequest solrQueryRequest, SolrQueryResponse solrQueryResponse)
-
-
Method Detail
-
deleteCollectionSnapshot
public DeleteCollectionSnapshotResponse deleteCollectionSnapshot(String collName, String snapshotName, boolean followAliases, String asyncId) throws Exception
- Specified by:
deleteCollectionSnapshotin interfaceCollectionSnapshotApis.Delete- Throws:
Exception
-
-