public class FileSystem extends ContentAddressableStorageJcloudsAbstract
contextLISTING_MAX_RESULTS| Constructor and Description |
|---|
FileSystem(StorageConfiguration configuration) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
closeContext()
Close context according to implementation (http client not closed)
|
String |
createReadOrderRequest(String containerName,
List<String> objectsIds)
Create read order (asynchronous read from tape to local FS) for the given objects representing the data at location containerName/objectId.
|
ContainerInformation |
getContainerInformation(String containerName)
Get container information like capacity
|
org.jclouds.blobstore.BlobStoreContext |
getContext(StorageConfiguration configuration)
enables the connection to a storage service with the param provided
|
MetadatasObject |
getObjectMetadata(String containerName,
String objectId,
boolean noCache)
get metadata of the object
|
void |
removeReadOrderRequest(String readRequestID)
Purge all read request id to cleanup local FS
|
createContainer, deleteObject, getObject, getObjectDigest, isExistingContainer, isExistingObject, listContainer, listContainerNext, putObjectcacheExistsContainer, computeObjectDigest, disableContainerCaching, getConfiguration, isExistingContainerInCachepublic FileSystem(StorageConfiguration configuration)
configuration - to associate with the FileSystempublic void closeContext()
ContentAddressableStorageJcloudsAbstractcloseContext in class ContentAddressableStorageJcloudsAbstractpublic String createReadOrderRequest(String containerName, List<String> objectsIds)
ContentAddressableStoragecontainerName - container where this exists.objectsIds - list of the fully qualified name relative to the container.public void removeReadOrderRequest(String readRequestID)
ContentAddressableStoragereadRequestID - the read request ID.public ContainerInformation getContainerInformation(String containerName) throws ContentAddressableStorageNotFoundException
ContentAddressableStoragegetContainerInformation in interface ContentAddressableStoragegetContainerInformation in class ContentAddressableStorageJcloudsAbstractcontainerName - the container nameContentAddressableStorageNotFoundException - Thrown when the container cannot be located.public org.jclouds.blobstore.BlobStoreContext getContext(StorageConfiguration configuration)
ContentAddressableStorageJcloudsAbstractgetContext in class ContentAddressableStorageJcloudsAbstractconfiguration - the storage configurationpublic MetadatasObject getObjectMetadata(String containerName, String objectId, boolean noCache) throws IOException, ContentAddressableStorageException
ContentAddressableStoragecontainerName - the container nameobjectId - the objectId to checkIOException - if an IOException is encountered with filesContentAddressableStorageException - Thrown when get action failed due some other failurepublic void close()
Copyright © 2019 Vitam. All rights reserved.