Uses of Class
fr.gouv.vitam.storage.engine.common.model.TapeCatalog
Package
Description
Provides common Model classes for the Storage Engine module.
-
Uses of TapeCatalog in fr.gouv.vitam.storage.engine.common.model
Modifier and TypeMethodDescriptionTapeCatalog.setAlternativeCode
(String alternativeCode) TapeCatalog.setCapacity
(Long capacity) TapeCatalog.setCompressed
(boolean compressed) TapeCatalog.setCurrentLocation
(TapeLocation currentLocation) TapeCatalog.setCurrentPosition
(Integer currentPosition) TapeCatalog.setFileCount
(Integer fileCount) TapeCatalog.setLabel
(TapeCatalogLabel label) TapeCatalog.setLibrary
(String library) TapeCatalog.setPreviousLocation
(TapeLocation previousLocation) TapeCatalog.setTapeState
(TapeState tapeState) TapeCatalog.setVersion
(int version) TapeCatalog.setWorm
(boolean worm) TapeCatalog.setWrittenBytes
(Long writtenBytes) -
Uses of TapeCatalog in fr.gouv.vitam.storage.offers.tape.impl.catalog
Modifier and TypeMethodDescriptionTapeCatalogRepository.findTapeById
(String tapeId) return tape model according to given IDModifier and TypeMethodDescriptionTapeCatalogServiceImpl.find
(List<QueryCriteria> criteria) TapeCatalogRepository.findTapes
(List<QueryCriteria> criteria) return tape models according to given fieldsTapeCatalogServiceImpl.init
(String tapeLibraryIdentifier, TapeLibrarySpec libraryState) TapeCatalogServiceImpl.receive
(org.bson.conversions.Bson inQuery) Modifier and TypeMethodDescriptionvoid
TapeCatalogServiceImpl.create
(TapeCatalog tapeCatalog) TapeCatalogRepository.createTape
(TapeCatalog tapeCatalog) create a tape modelboolean
TapeCatalogServiceImpl.replace
(TapeCatalog tapeCatalog) boolean
TapeCatalogRepository.replaceTape
(TapeCatalog tapeCatalog) replace a tape model -
Uses of TapeCatalog in fr.gouv.vitam.storage.offers.tape.impl.readwrite
Modifier and TypeMethodDescriptionvoid
TapeLibraryServiceImpl.checkNonEmptyTapeLabel
(TapeCatalog tape) void
TapeLibraryServiceImpl.ensureTapeIsEmpty
(TapeCatalog tape, boolean forceOverrideNonEmptyCartridges) void
TapeLibraryServiceImpl.goToPosition
(TapeCatalog tape, Integer position, ReadWriteErrorCode readWriteErrorCode) void
TapeLibraryServiceImpl.loadTape
(TapeCatalog tape) void
TapeLibraryServiceImpl.read
(TapeCatalog tape, Integer position, String outputPath) void
TapeLibraryServiceImpl.rewindTape
(TapeCatalog tape) void
TapeLibraryServiceImpl.unloadTape
(TapeCatalog tape) void
TapeLibraryServiceImpl.write
(String filePath, long writtenBytes, TapeCatalog tape) -
Uses of TapeCatalog in fr.gouv.vitam.storage.offers.tape.rest
Modifier and TypeMethodDescriptionjavax.ws.rs.core.Response
TapeCatalogResource.createTape
(TapeCatalog tapeCatalog) Creates a tape model.javax.ws.rs.core.Response
TapeCatalogResource.replaceTape
(String tapeId, TapeCatalog tapeCatalog) replaces existing tape model by id. -
Uses of TapeCatalog in fr.gouv.vitam.storage.offers.tape.spec
Modifier and TypeMethodDescriptionTapeCatalogService.find
(List<QueryCriteria> criteria) TapeCatalogService.init
(String tapeLibraryIdentifier, TapeLibrarySpec libraryState) Return map of drive index with his current tape If all drive are empty then return an empty mapTapeCatalogService.receive
(org.bson.conversions.Bson inQuery) Modifier and TypeMethodDescriptionvoid
TapeLibraryService.checkNonEmptyTapeLabel
(TapeCatalog tape) void
TapeCatalogService.create
(TapeCatalog tapeCatalog) void
TapeLibraryService.ensureTapeIsEmpty
(TapeCatalog tape, boolean forceOverrideNonEmptyCartridges) void
TapeLibraryService.goToPosition
(TapeCatalog tape, Integer position, ReadWriteErrorCode readWriteErrorCode) void
TapeLibraryService.loadTape
(TapeCatalog tape) void
TapeLibraryService.read
(TapeCatalog tape, Integer position, String outputPath) boolean
TapeCatalogService.replace
(TapeCatalog tapeCatalog) void
TapeLibraryService.rewindTape
(TapeCatalog tape) void
TapeLibraryService.unloadTape
(TapeCatalog tape) void
TapeLibraryService.write
(String filePath, long writtenBytes, TapeCatalog tape) -
Uses of TapeCatalog in fr.gouv.vitam.storage.offers.tape.worker
ModifierConstructorDescriptionTapeDriveWorker
(TapeRobotPool tapeRobotPool, TapeDriveService tapeDriveService, TapeCatalogService tapeCatalogService, TapeDriveOrderConsumer receiver, ArchiveReferentialRepository archiveReferentialRepository, AccessRequestManager accessRequestManager, TapeCatalog currentTape, String inputTarPath, boolean forceOverrideNonEmptyCartridges, ArchiveCacheStorage archiveCacheStorage, int fullCartridgeDetectionThresholdInMB) TapeDriveWorker
(TapeRobotPool tapeRobotPool, TapeDriveService tapeDriveService, TapeCatalogService tapeCatalogService, TapeDriveOrderConsumer receiver, ArchiveReferentialRepository archiveReferentialRepository, AccessRequestManager accessRequestManager, TapeCatalog currentTape, String inputTarPath, long sleepTime, boolean forceOverrideNonEmptyCartridges, ArchiveCacheStorage archiveCacheStorage, int fullCartridgeDetectionThresholdInMB) ModifierConstructorDescriptionTapeDriveWorkerManager
(QueueRepository readWriteQueue, ArchiveReferentialRepository archiveReferentialRepository, AccessRequestManager accessRequestManager, TapeLibraryPool tapeLibraryPool, Map<Integer, TapeCatalog> driveTape, String inputTarPath, boolean forceOverrideNonEmptyCartridges, ArchiveCacheStorage archiveCacheStorage, TapeCatalogService tapeCatalogService, Integer fullCartridgeDetectionThresholdInMB) -
Uses of TapeCatalog in fr.gouv.vitam.storage.offers.tape.worker.tasks
Modifier and TypeMethodDescriptionCatalogResponse.getCurrentTape()
ReadWriteResult.getCurrentTape()
ModifierConstructorDescriptionCatalogResponse
(StatusCode status, TapeCatalog currentTape) ReadTask
(ReadOrder readOrder, TapeCatalog workerCurrentTape, TapeLibraryService tapeLibraryService, TapeCatalogService tapeCatalogService, AccessRequestManager accessRequestManager, ArchiveCacheStorage archiveCacheStorage) ReadWriteResult
(StatusCode status, QueueState state, TapeCatalog currentTape) ReadWriteTask
(ReadWriteOrder order, TapeCatalog workerCurrentTape, TapeLibraryService tapeLibraryService, TapeCatalogService tapeCatalogService, ArchiveReferentialRepository archiveReferentialRepository, AccessRequestManager accessRequestManager, String inputTarPath, boolean forceOverrideNonEmptyCartridges, ArchiveCacheStorage archiveCacheStorage) WriteTask
(WriteOrder writeOrder, TapeCatalog workerCurrentTape, TapeLibraryService tapeLibraryService, TapeCatalogService tapeCatalogService, ArchiveReferentialRepository archiveReferentialRepository, ArchiveCacheStorage archiveCacheStorage, String inputTarPath, boolean forceOverrideNonEmptyCartridges)