Package org.alfresco.solr.handler
Class SnapShooter
- java.lang.Object
-
- org.alfresco.solr.handler.SnapShooter
-
public class SnapShooter extends java.lang.ObjectProvides functionality equivalent to the snapshooter script
This is no longer used in standard replication.- Since:
- solr 1.4
-
-
Constructor Summary
Constructors Constructor Description SnapShooter(org.apache.solr.core.SolrCore core, java.lang.String location, java.lang.String snapshotName)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.solr.common.util.NamedListcreateSnapshot()protected voiddeleteNamedSnapshot(AlfrescoReplicationHandler alfrescoReplicationHandler)org.apache.solr.core.backup.repository.BackupRepositorygetBackupRepository()java.net.URIgetLocation()Gets the parent directory of the snapshots.
-
-
-
Method Detail
-
getBackupRepository
public org.apache.solr.core.backup.repository.BackupRepository getBackupRepository()
-
getLocation
public java.net.URI getLocation()
Gets the parent directory of the snapshots. This is thelocationgiven in the constructor.
-
createSnapshot
public org.apache.solr.common.util.NamedList createSnapshot() throws java.lang.Exception- Throws:
java.lang.Exception
-
deleteNamedSnapshot
protected void deleteNamedSnapshot(AlfrescoReplicationHandler alfrescoReplicationHandler)
-
-