org.jclouds.atmos
Interface AtmosAsyncClient


public interface AtmosAsyncClient

Provides asynchronous access to EMC Atmos Online Storage resources via their REST API.

Author:
Adrian Cole
See Also:
AtmosClient,

Method Summary
 com.google.common.util.concurrent.ListenableFuture<URI> createDirectory(String directoryName, PutOptions... options)
           
 com.google.common.util.concurrent.ListenableFuture<URI> createFile(String parent, AtmosObject object, PutOptions... options)
           
 com.google.common.util.concurrent.ListenableFuture<Void> deletePath(String path)
           
 com.google.common.util.concurrent.ListenableFuture<SystemMetadata> getSystemMetadata(String path)
           
 com.google.common.util.concurrent.ListenableFuture<UserMetadata> getUserMetadata(String path)
           
 com.google.common.util.concurrent.ListenableFuture<AtmosObject> headFile(String path)
           
 com.google.common.util.concurrent.ListenableFuture<Boolean> isPublic(String path)
           
 com.google.common.util.concurrent.ListenableFuture<BoundedSet<? extends DirectoryEntry>> listDirectories(ListOptions... options)
           
 com.google.common.util.concurrent.ListenableFuture<BoundedSet<? extends DirectoryEntry>> listDirectory(String directoryName, ListOptions... options)
           
 AtmosObject newObject()
          Creates a default implementation of AtmosObject
 com.google.common.util.concurrent.ListenableFuture<Boolean> pathExists(String path)
           
 com.google.common.util.concurrent.ListenableFuture<AtmosObject> readFile(String path, GetOptions... options)
           
 com.google.common.util.concurrent.ListenableFuture<Void> updateFile(String parent, AtmosObject object, PutOptions... options)
           
 

Method Detail

newObject

@Provides
AtmosObject newObject()
Creates a default implementation of AtmosObject


listDirectories

com.google.common.util.concurrent.ListenableFuture<BoundedSet<? extends DirectoryEntry>> listDirectories(ListOptions... options)
See Also:
AtmosClient.listDirectories(org.jclouds.atmos.options.ListOptions...)

listDirectory

com.google.common.util.concurrent.ListenableFuture<BoundedSet<? extends DirectoryEntry>> listDirectory(String directoryName,
                                                                                                       ListOptions... options)
See Also:
AtmosClient.listDirectory(java.lang.String, org.jclouds.atmos.options.ListOptions...)

createDirectory

com.google.common.util.concurrent.ListenableFuture<URI> createDirectory(String directoryName,
                                                                        PutOptions... options)
See Also:
AtmosClient.createDirectory(java.lang.String, org.jclouds.atmos.options.PutOptions...)

createFile

com.google.common.util.concurrent.ListenableFuture<URI> createFile(String parent,
                                                                   AtmosObject object,
                                                                   PutOptions... options)
See Also:
AtmosClient.createFile(java.lang.String, org.jclouds.atmos.domain.AtmosObject, org.jclouds.atmos.options.PutOptions...)

updateFile

com.google.common.util.concurrent.ListenableFuture<Void> updateFile(String parent,
                                                                    AtmosObject object,
                                                                    PutOptions... options)
See Also:
AtmosClient.updateFile(java.lang.String, org.jclouds.atmos.domain.AtmosObject, org.jclouds.atmos.options.PutOptions...)

readFile

com.google.common.util.concurrent.ListenableFuture<AtmosObject> readFile(String path,
                                                                         GetOptions... options)
See Also:
AtmosClient.readFile(java.lang.String, org.jclouds.http.options.GetOptions...)

headFile

com.google.common.util.concurrent.ListenableFuture<AtmosObject> headFile(String path)
See Also:
AtmosClient.headFile(java.lang.String)

getSystemMetadata

com.google.common.util.concurrent.ListenableFuture<SystemMetadata> getSystemMetadata(String path)
See Also:
AtmosClient.getSystemMetadata(java.lang.String)

getUserMetadata

com.google.common.util.concurrent.ListenableFuture<UserMetadata> getUserMetadata(String path)
See Also:
AtmosClient.getUserMetadata(java.lang.String)

deletePath

com.google.common.util.concurrent.ListenableFuture<Void> deletePath(String path)
See Also:
AtmosClient.deletePath(java.lang.String)

pathExists

com.google.common.util.concurrent.ListenableFuture<Boolean> pathExists(String path)
See Also:
AtmosClient.pathExists(java.lang.String)

isPublic

com.google.common.util.concurrent.ListenableFuture<Boolean> isPublic(String path)
See Also:
AtmosClient.isPublic(java.lang.String)


Copyright © 2009-2011 jclouds. All Rights Reserved.