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 TypeMethodDescriptionvoid
create
(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 mapvoid
receive
(org.bson.conversions.Bson inQuery) boolean
replace
(TapeCatalog tapeCatalog) boolean
-
Constructor Details
-
TapeCatalogServiceImpl
-
-
Method Details
-
create
- Specified by:
create
in interfaceTapeCatalogService
- Throws:
TapeCatalogException
-
replace
- Specified by:
replace
in interfaceTapeCatalogService
- Throws:
TapeCatalogException
-
update
- Specified by:
update
in interfaceTapeCatalogService
- Throws:
TapeCatalogException
-
init
public Map<Integer,TapeCatalog> init(String tapeLibraryIdentifier, TapeLibrarySpec libraryState) throws TapeCatalogException Description copied from interface:TapeCatalogService
Return map of drive index with his current tape If all drive are empty then return an empty map- Specified by:
init
in interfaceTapeCatalogService
- Returns:
- Throws:
TapeCatalogException
-
findById
- Specified by:
findById
in interfaceTapeCatalogService
- Throws:
TapeCatalogException
-
find
- Specified by:
find
in interfaceTapeCatalogService
- Throws:
TapeCatalogException
-
markReady
- Specified by:
markReady
in interfaceTapeCatalogService
- Throws:
QueueException
-
receive
- Specified by:
receive
in interfaceTapeCatalogService
- Throws:
QueueException
-