| Package | Description |
|---|---|
| org.apache.solr.core.snapshots |
Core classes for Solr's persistent snapshots functionality
|
| Modifier and Type | Method and Description |
|---|---|
static Optional<CollectionSnapshotMetaData> |
SolrSnapshotManager.getCollectionLevelSnapshot(SolrZkClient zkClient,
String collectionName,
String commitName)
This method returns the CollectionSnapshotMetaData for the named snapshot for the specified collection in Zookeeper.
|
static Collection<CollectionSnapshotMetaData> |
SolrSnapshotManager.listSnapshots(SolrZkClient zkClient,
String collectionName)
This method returns the CollectionSnapshotMetaData for each named snapshot for the specified collection in Zookeeper.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
SolrSnapshotManager.createCollectionLevelSnapshot(SolrZkClient zkClient,
String collectionName,
CollectionSnapshotMetaData meta)
This method creates an entry for the named snapshot for the specified collection in Zookeeper.
|
static void |
SolrSnapshotManager.updateCollectionLevelSnapshot(SolrZkClient zkClient,
String collectionName,
CollectionSnapshotMetaData meta)
This method updates an entry for the named snapshot for the specified collection in Zookeeper.
|
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.