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)
|
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 |
getObjectMetadatas(String containerName,
String objectId)
get metadata of the object
|
countObjects, createContainer, deleteObject, getConfiguration, getMaxResults, getObject, getObjectAsync, getObjectInformation, isExistingContainer, isExistingObject, listContainer, listContainerNext, putObject, setConfigurationcheckObject, computeObjectDigestpublic FileSystem(StorageConfiguration configuration)
configuration - to associate with the FileSystempublic void closeContext()
ContentAddressableStorageJcloudsAbstractcloseContext in class ContentAddressableStorageJcloudsAbstractpublic 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 getObjectMetadatas(String containerName, String objectId) throws IOException, ContentAddressableStorageException
ContentAddressableStoragegetObjectMetadatas in interface ContentAddressableStoragegetObjectMetadatas in class ContentAddressableStorageJcloudsAbstractcontainerName - 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 © 2018 Vitam. All rights reserved.