org.jclouds.glesys.features
Interface ArchiveAsyncApi


public interface ArchiveAsyncApi

Provides asynchronous access to Archive data via the Glesys REST API.

Author:
Adam Lowe
See Also:
ArchiveApi,

Method Summary
 com.google.common.util.concurrent.ListenableFuture<Archive> changePassword(String username, String password)
           
 com.google.common.util.concurrent.ListenableFuture<Archive> createWithCredentialsAndSize(String username, String password, int size)
           
 com.google.common.util.concurrent.ListenableFuture<Void> delete(String username)
           
 com.google.common.util.concurrent.ListenableFuture<Archive> get(String username)
           
 com.google.common.util.concurrent.ListenableFuture<ArchiveAllowedArguments> getAllowedArguments()
           
 com.google.common.util.concurrent.ListenableFuture<com.google.common.collect.FluentIterable<Archive>> list()
           
 com.google.common.util.concurrent.ListenableFuture<Archive> resize(String username, int size)
           
 

Method Detail

list

@Named(value="archive:list")
com.google.common.util.concurrent.ListenableFuture<com.google.common.collect.FluentIterable<Archive>> list()
See Also:
ArchiveApi.list()

get

@Named(value="archive:details")
com.google.common.util.concurrent.ListenableFuture<Archive> get(String username)
See Also:
ArchiveApi.get(java.lang.String)

createWithCredentialsAndSize

@Named(value="archive:create")
com.google.common.util.concurrent.ListenableFuture<Archive> createWithCredentialsAndSize(String username,
                                                                                               String password,
                                                                                               int size)
See Also:
ArchiveApi.createWithCredentialsAndSize(java.lang.String, java.lang.String, int)

delete

@Named(value="archive:delete")
com.google.common.util.concurrent.ListenableFuture<Void> delete(String username)
See Also:
ArchiveApi.delete(java.lang.String)

resize

@Named(value="archive:resize")
com.google.common.util.concurrent.ListenableFuture<Archive> resize(String username,
                                                                         int size)
See Also:
ArchiveApi.resize(java.lang.String, int)

changePassword

@Named(value="archive:changepassword")
com.google.common.util.concurrent.ListenableFuture<Archive> changePassword(String username,
                                                                                 String password)
See Also:
ArchiveApi.changePassword(java.lang.String, java.lang.String)

getAllowedArguments

@Named(value="archive:allowedarguments")
com.google.common.util.concurrent.ListenableFuture<ArchiveAllowedArguments> getAllowedArguments()
See Also:
ArchiveApi.getAllowedArguments()


Copyright © 2009-2013 The Apache Software Foundation. All Rights Reserved.