Package | Description |
---|---|
fr.gouv.vitam.driver.fake |
Provides a fake Driver implementation for tests purpose
|
fr.gouv.vitam.driver.mock |
Provides a Mock 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.
|
mon.module.driver | |
the.driver |
Modifier and Type | Method and Description |
---|---|
Connection |
FakeDriverImpl.connect(String offerId) |
boolean |
FakeDriverImpl.isStorageOfferAvailable(String offerId) |
Modifier and Type | Method and Description |
---|---|
StorageCheckResult |
ConnectionMockImpl.checkObject(StorageCheckRequest request) |
Connection |
MockDriverImpl.connect(String offerId) |
StorageCountResult |
ConnectionMockImpl.countObjects(StorageRequest request) |
StorageMetadatasResult |
ConnectionMockImpl.getMetadatas(StorageObjectRequest request) |
StorageGetResult |
ConnectionMockImpl.getObject(StorageObjectRequest request) |
StorageCapacityResult |
ConnectionMockImpl.getStorageCapacity(Integer tenantId) |
protected <R> R |
ConnectionMockImpl.handleResponseStatus(javax.ws.rs.core.Response response,
Class<R> responseType)
Common method to handle response status
|
boolean |
MockDriverImpl.isStorageOfferAvailable(String offerId) |
RequestResponse<com.fasterxml.jackson.databind.JsonNode> |
ConnectionMockImpl.listObjects(StorageListRequest request) |
boolean |
ConnectionMockImpl.objectExistsInOffer(StorageObjectRequest request) |
StoragePutResult |
ConnectionMockImpl.putObject(StoragePutRequest request) |
StorageRemoveResult |
ConnectionMockImpl.removeObject(StorageRemoveRequest request) |
Modifier and Type | Method and Description |
---|---|
StorageCheckResult |
Connection.checkObject(StorageCheckRequest request)
Check an object in order to validate its transfer
|
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.
|
StorageCountResult |
Connection.countObjects(StorageRequest request)
Count the number of binary objects ine the container
|
StorageMetadatasResult |
Connection.getMetadatas(StorageObjectRequest 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 |
AbstractDriver.isStorageOfferAvailable(String offerId) |
boolean |
Driver.isStorageOfferAvailable(String offerId)
The driver MUST provide a way to check the availability of the storage
offer Id name.
|
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 |
StorageDriverAlreadyExistsException
Exceptions to be thrown by the storage drivers in case service requested is unavailable
|
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() |
Boolean |
DeleteThread.call() |
Modifier and Type | Method and Description |
---|---|
Connection |
MonDriver.connect(String offerId) |
boolean |
MonDriver.isStorageOfferAvailable(String s,
Properties properties) |
Modifier and Type | Method and Description |
---|---|
Connection |
TheDriver.connect(String offerId) |
boolean |
TheDriver.isStorageOfferAvailable(String s,
Properties properties)
Is Storage Offer Available
|
Copyright © 2018 Vitam. All rights reserved.