Interface TapeCatalogService
- All Known Implementing Classes:
TapeCatalogServiceImpl
public interface TapeCatalogService
-
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
-
Method Details
-
create
- Throws:
TapeCatalogException
-
replace
- Throws:
TapeCatalogException
-
update
- Throws:
TapeCatalogException
-
init
Map<Integer,TapeCatalog> init(String tapeLibraryIdentifier, TapeLibrarySpec libraryState) throws TapeCatalogException Return map of drive index with his current tape If all drive are empty then return an empty map- Parameters:
tapeLibraryIdentifier-libraryState-- Returns:
- Throws:
TapeCatalogException
-
findById
- Throws:
TapeCatalogException
-
find
- Throws:
TapeCatalogException
-
markReady
- Throws:
QueueException
-
receive
- Throws:
QueueException
-