| Package | Description |
|---|---|
| fr.gouv.vitam.driver.fake |
Provides a fake Driver implementation for tests purpose
|
| fr.gouv.vitam.storage.driver |
Provides interface describing how drivers should be implemented for the
Storage driver module
|
| fr.gouv.vitam.storage.driver.exception |
Provides Exception classes for the Storage driver module
|
| fr.gouv.vitam.storage.engine.server.distribution.impl |
Provides a Distribution implementation for the Storage Engine Server module
|
| fr.gouv.vitam.storage.offers.workspace.driver |
Provides implementation of the driver for the Workspace Driver module.
|
| Modifier and Type | Method and Description |
|---|---|
Connection |
FakeDriverImpl.connect(String offerId) |
boolean |
FakeDriverImpl.isStorageOfferAvailable(String offerId) |
| Modifier and Type | Method and Description |
|---|---|
void |
Connection.close()
Override AutoCloseable implementation to specify the exception
|
Connection |
Driver.connect(String offerId)
Create a connection to the distant offer service based on given offer Id name.
|
StorageMetadataResult |
Connection.getMetadatas(StorageGetMetadataRequest request)
Get metadata of object
|
StorageGetResult |
Connection.getObject(StorageObjectRequest request)
Retrieve an object from the storage offer based on criterias defined in request argument.
|
RequestResponse<OfferLog> |
Connection.getOfferLogs(StorageOfferLogRequest request)
Get a listing of offer logs on a container type
|
StorageCapacityResult |
Connection.getStorageCapacity(Integer tenantId)
Retrieve the remaining storage capacity available on the distant offer.
|
boolean |
Driver.isStorageOfferAvailable(String offerId)
The driver MUST provide a way to check the availability of the storage
offer Id name.
|
boolean |
AbstractDriver.isStorageOfferAvailable(String offerId) |
RequestResponse<com.fasterxml.jackson.databind.JsonNode> |
Connection.listObjects(StorageListRequest request)
List object on a container type
|
boolean |
Connection.objectExistsInOffer(StorageObjectRequest request)
Check if an object is present in the offer
|
StoragePutResult |
Connection.putObject(StoragePutRequest request)
Put the object file into the storage offer based on criterias defined in request argument and underlaying
connection parameters.
|
StorageRemoveResult |
Connection.removeObject(StorageRemoveRequest request)
Delete an object on the distant storage offer.
|
| Modifier and Type | Class and Description |
|---|---|
class |
StorageDriverConflictException
Exceptions to be thrown by the storage drivers in case of conflicting resource
|
class |
StorageDriverNotFoundException
Exceptions to be thrown by the storage drivers in case resource was not found on the storage offer
|
class |
StorageDriverPreconditionFailedException
Exceptions to be thrown by the storage drivers in case resource requested is already existing
|
class |
StorageDriverServiceUnavailableException
Exceptions to be thrown by the storage drivers in case resource requested is already existing
|
| Modifier and Type | Method and Description |
|---|---|
ThreadResponseData |
TransferThread.call() |
| Modifier and Type | Method and Description |
|---|---|
Connection |
DriverImpl.connect(String offerId) |
StorageMetadataResult |
ConnectionImpl.getMetadatas(StorageGetMetadataRequest request) |
StorageGetResult |
ConnectionImpl.getObject(StorageObjectRequest request) |
RequestResponse<OfferLog> |
ConnectionImpl.getOfferLogs(StorageOfferLogRequest storageGetOfferLogRequest) |
StorageCapacityResult |
ConnectionImpl.getStorageCapacity(Integer tenantId) |
protected <R> R |
ConnectionImpl.handleResponseStatus(javax.ws.rs.core.Response response,
Class<R> responseType)
Common method to handle response status
|
RequestResponse<com.fasterxml.jackson.databind.JsonNode> |
ConnectionImpl.listObjects(StorageListRequest request) |
boolean |
ConnectionImpl.objectExistsInOffer(StorageObjectRequest request) |
StoragePutResult |
ConnectionImpl.putObject(StoragePutRequest request) |
StorageRemoveResult |
ConnectionImpl.removeObject(StorageRemoveRequest request) |
Copyright © 2021 Vitam. All rights reserved.