Class TapeLibraryFactory
- java.lang.Object
-
- fr.gouv.vitam.storage.offers.tape.TapeLibraryFactory
-
public class TapeLibraryFactory extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
TapeLibraryFactory.TapeServiceCreator
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AccessRequestManager
getAccessRequestManager()
ArchiveCacheStorage
getArchiveCacheStorage()
BackupFileStorage
getBackupFileStorage()
TapeLibraryPool
getFirstTapeLibraryPool()
static TapeLibraryFactory
getInstance()
TapeCatalogService
getTapeCatalogService()
TapeLibraryContentAddressableStorage
getTapeLibraryContentAddressableStorage()
java.util.concurrent.ConcurrentMap<java.lang.String,TapeLibraryPool>
getTapeLibraryPool()
void
initialize(TapeLibraryConfiguration configuration, com.mongodb.client.MongoDatabase mongoDatabase)
void
overrideTapeServiceCreatorForTesting(TapeLibraryFactory.TapeServiceCreator tapeServiceCreator)
void
resetTapeLibraryFactoryAfterTests()
-
-
-
Method Detail
-
initialize
public void initialize(TapeLibraryConfiguration configuration, com.mongodb.client.MongoDatabase mongoDatabase) throws java.io.IOException, IllegalPathException
- Throws:
java.io.IOException
IllegalPathException
-
getTapeLibraryContentAddressableStorage
public TapeLibraryContentAddressableStorage getTapeLibraryContentAddressableStorage()
-
getInstance
public static TapeLibraryFactory getInstance()
-
getTapeLibraryPool
public java.util.concurrent.ConcurrentMap<java.lang.String,TapeLibraryPool> getTapeLibraryPool()
-
getFirstTapeLibraryPool
public TapeLibraryPool getFirstTapeLibraryPool()
-
getBackupFileStorage
public BackupFileStorage getBackupFileStorage()
-
getTapeCatalogService
public TapeCatalogService getTapeCatalogService()
-
getAccessRequestManager
public AccessRequestManager getAccessRequestManager()
-
getArchiveCacheStorage
public ArchiveCacheStorage getArchiveCacheStorage()
-
overrideTapeServiceCreatorForTesting
public void overrideTapeServiceCreatorForTesting(TapeLibraryFactory.TapeServiceCreator tapeServiceCreator)
-
resetTapeLibraryFactoryAfterTests
public void resetTapeLibraryFactoryAfterTests()
-
-