Class TapeCatalogServiceImpl
java.lang.Object
fr.gouv.vitam.storage.offers.tape.impl.catalog.TapeCatalogServiceImpl
- All Implemented Interfaces:
TapeCatalogService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcreate(TapeCatalog tapeCatalog) find(List<QueryCriteria> criteria) init(String tapeLibraryIdentifier, TapeLibrarySpec libraryState) Return map of drive index with his current tape If all drive are empty then return an empty mapvoidreceive(org.bson.conversions.Bson inQuery) booleanreplace(TapeCatalog tapeCatalog) boolean
-
Constructor Details
-
TapeCatalogServiceImpl
-
-
Method Details
-
create
- Specified by:
createin interfaceTapeCatalogService- Throws:
TapeCatalogException
-
replace
- Specified by:
replacein interfaceTapeCatalogService- Throws:
TapeCatalogException
-
update
- Specified by:
updatein interfaceTapeCatalogService- Throws:
TapeCatalogException
-
init
public Map<Integer,TapeCatalog> init(String tapeLibraryIdentifier, TapeLibrarySpec libraryState) throws TapeCatalogException Description copied from interface:TapeCatalogServiceReturn map of drive index with his current tape If all drive are empty then return an empty map- Specified by:
initin interfaceTapeCatalogService- Returns:
- Throws:
TapeCatalogException
-
findById
- Specified by:
findByIdin interfaceTapeCatalogService- Throws:
TapeCatalogException
-
find
- Specified by:
findin interfaceTapeCatalogService- Throws:
TapeCatalogException
-
markReady
- Specified by:
markReadyin interfaceTapeCatalogService- Throws:
QueueException
-
receive
- Specified by:
receivein interfaceTapeCatalogService- Throws:
QueueException
-