public interface TapeCatalogService extends QueueRepository
Modifier and Type | Method and Description |
---|---|
void |
create(TapeCatalog tapeCatalog) |
List<TapeCatalog> |
find(List<QueryCriteria> criteria) |
TapeCatalog |
findById(String tapeId) |
Map<Integer,TapeCatalog> |
init(String tapeLibraryIdentifier,
TapeLibrarySpec libraryState)
Return map of drive index with his current tape
If all drive are empty then return an empty map
|
boolean |
replace(TapeCatalog tapeCatalog) |
boolean |
update(String tapeId,
Map<String,Object> criteria) |
add, addIfAbsent, complete, initializeOnBootstrap, markError, markReady, receive, receive, receive, receive, receive, receive, remove
void create(TapeCatalog tapeCatalog) throws TapeCatalogException
TapeCatalogException
boolean replace(TapeCatalog tapeCatalog) throws TapeCatalogException
TapeCatalogException
boolean update(String tapeId, Map<String,Object> criteria) throws TapeCatalogException
TapeCatalogException
Map<Integer,TapeCatalog> init(String tapeLibraryIdentifier, TapeLibrarySpec libraryState) throws TapeCatalogException
tapeLibraryIdentifier
- libraryState
- TapeCatalogException
TapeCatalog findById(String tapeId) throws TapeCatalogException
TapeCatalogException
List<TapeCatalog> find(List<QueryCriteria> criteria) throws TapeCatalogException
TapeCatalogException
Copyright © 2019 Vitam. All rights reserved.