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 interfaceTapeLibraryFactory.TapeServiceCreator
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AccessRequestManagergetAccessRequestManager()ArchiveCacheStoragegetArchiveCacheStorage()BackupFileStoragegetBackupFileStorage()TapeLibraryPoolgetFirstTapeLibraryPool()static TapeLibraryFactorygetInstance()TapeCatalogServicegetTapeCatalogService()TapeLibraryContentAddressableStoragegetTapeLibraryContentAddressableStorage()java.util.concurrent.ConcurrentMap<java.lang.String,TapeLibraryPool>getTapeLibraryPool()voidinitialize(TapeLibraryConfiguration configuration, com.mongodb.client.MongoDatabase mongoDatabase)voidoverrideTapeServiceCreatorForTesting(TapeLibraryFactory.TapeServiceCreator tapeServiceCreator)voidresetTapeLibraryFactoryAfterTests()
-
-
-
Method Detail
-
initialize
public void initialize(TapeLibraryConfiguration configuration, com.mongodb.client.MongoDatabase mongoDatabase) throws java.io.IOException, IllegalPathException
- Throws:
java.io.IOExceptionIllegalPathException
-
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()
-
-