Class AbstractBackupRepositoryTest.NoChecksumDelegatingBackupRepository
- java.lang.Object
-
- org.apache.solr.core.backup.repository.AbstractBackupRepository
-
- org.apache.solr.core.backup.repository.DelegatingBackupRepository
-
- org.apache.solr.cloud.api.collections.AbstractBackupRepositoryTest.NoChecksumDelegatingBackupRepository
-
- All Implemented Interfaces:
Closeable,AutoCloseable,org.apache.solr.core.backup.repository.BackupRepository,org.apache.solr.util.plugin.NamedListInitializedPlugin
- Enclosing class:
- AbstractBackupRepositoryTest
public static class AbstractBackupRepositoryTest.NoChecksumDelegatingBackupRepository extends org.apache.solr.core.backup.repository.DelegatingBackupRepositoryTest implementation of aDelegatingBackupRepositorythat disables the checksum verification on its delegateBackupRepository.This test class is public to be instantiated by the
BackupRepositoryFactory.
-
-
Constructor Summary
Constructors Constructor Description NoChecksumDelegatingBackupRepository()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcopyIndexFileFrom(org.apache.lucene.store.Directory sourceDir, String sourceFileName, URI destDir, String destFileName)voidcopyIndexFileFrom(org.apache.lucene.store.Directory sourceDir, String sourceFileName, org.apache.lucene.store.Directory destDir, String destFileName)protected org.apache.solr.common.util.NamedList<?>getDelegateInitArgs(org.apache.solr.common.util.NamedList<?> initArgs)-
Methods inherited from class org.apache.solr.core.backup.repository.DelegatingBackupRepository
checksum, close, copyFileFrom, copyFileTo, copyIndexFileTo, createDirectory, createDirectoryURI, createOutput, createURI, delete, deleteDirectory, exists, getBackupLocation, getConfigProperty, getPathType, listAll, listAllOrEmpty, openInput, resolve, resolveDirectory, setDelegate
-
Methods inherited from class org.apache.solr.core.backup.repository.AbstractBackupRepository
getBooleanConfig, init
-
-
-
-
Method Detail
-
getDelegateInitArgs
protected org.apache.solr.common.util.NamedList<?> getDelegateInitArgs(org.apache.solr.common.util.NamedList<?> initArgs)
- Overrides:
getDelegateInitArgsin classorg.apache.solr.core.backup.repository.DelegatingBackupRepository
-
copyIndexFileFrom
public void copyIndexFileFrom(org.apache.lucene.store.Directory sourceDir, String sourceFileName, org.apache.lucene.store.Directory destDir, String destFileName) throws IOException- Specified by:
copyIndexFileFromin interfaceorg.apache.solr.core.backup.repository.BackupRepository- Overrides:
copyIndexFileFromin classorg.apache.solr.core.backup.repository.DelegatingBackupRepository- Throws:
IOException
-
copyIndexFileFrom
public void copyIndexFileFrom(org.apache.lucene.store.Directory sourceDir, String sourceFileName, URI destDir, String destFileName) throws IOException- Specified by:
copyIndexFileFromin interfaceorg.apache.solr.core.backup.repository.BackupRepository- Overrides:
copyIndexFileFromin classorg.apache.solr.core.backup.repository.DelegatingBackupRepository- Throws:
IOException
-
-