Package org.alfresco.solr.handler
Class SnapShooter
- java.lang.Object
-
- org.alfresco.solr.handler.SnapShooter
-
public class SnapShooter extends Object
Provides 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, String location, 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()URIgetLocation()Gets the parent directory of the snapshots.
-
-
-
Constructor Detail
-
SnapShooter
@Deprecated public SnapShooter(org.apache.solr.core.SolrCore core, String location, String snapshotName)
Deprecated.
-
-
Method Detail
-
getBackupRepository
public org.apache.solr.core.backup.repository.BackupRepository getBackupRepository()
-
getLocation
public 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 Exception- Throws:
Exception
-
deleteNamedSnapshot
protected void deleteNamedSnapshot(AlfrescoReplicationHandler alfrescoReplicationHandler)
-
-