org.jclouds.gogrid.services
Interface GridServerAsyncClient


public interface GridServerAsyncClient

Provides asynchronous access to GoGrid via their REST API.

Author:
Adrian Cole, Oleksiy Yarmula
See Also:
GridServerClient,

Method Summary
 com.google.common.util.concurrent.ListenableFuture<Server> addServer(String name, String image, String ram, String ip, AddServerOptions... addServerOptions)
           
 com.google.common.util.concurrent.ListenableFuture<Server> deleteById(long id)
           
 com.google.common.util.concurrent.ListenableFuture<Server> deleteByName(String name)
           
 com.google.common.util.concurrent.ListenableFuture<Set<Option>> getDatacenters()
           
 com.google.common.util.concurrent.ListenableFuture<Set<Option>> getRamSizes()
           
 com.google.common.util.concurrent.ListenableFuture<Credentials> getServerCredentials(long id)
           
 com.google.common.util.concurrent.ListenableFuture<Map<String,Credentials>> getServerCredentialsList()
           
 com.google.common.util.concurrent.ListenableFuture<Set<Server>> getServerList(GetServerListOptions... getServerListOptions)
           
 com.google.common.util.concurrent.ListenableFuture<Set<Server>> getServersById(long... ids)
           
 com.google.common.util.concurrent.ListenableFuture<Set<Server>> getServersByName(String... names)
           
 com.google.common.util.concurrent.ListenableFuture<Server> power(String idOrName, PowerCommand power)
           
 

Method Detail

getServerList

com.google.common.util.concurrent.ListenableFuture<Set<Server>> getServerList(GetServerListOptions... getServerListOptions)
See Also:
GridServerClient.getServerList(org.jclouds.gogrid.options.GetServerListOptions...)

getServersByName

com.google.common.util.concurrent.ListenableFuture<Set<Server>> getServersByName(String... names)
See Also:
GridServerClient.getServersByName(String...)

getServersById

com.google.common.util.concurrent.ListenableFuture<Set<Server>> getServersById(long... ids)
See Also:
GridServerClient#getServersById(Long...)

getServerCredentialsList

com.google.common.util.concurrent.ListenableFuture<Map<String,Credentials>> getServerCredentialsList()
See Also:
GridServerClient.getServerCredentialsList()

getServerCredentials

com.google.common.util.concurrent.ListenableFuture<Credentials> getServerCredentials(long id)
See Also:
GridServerClient.getServerCredentials(long)

addServer

com.google.common.util.concurrent.ListenableFuture<Server> addServer(String name,
                                                                     String image,
                                                                     String ram,
                                                                     String ip,
                                                                     AddServerOptions... addServerOptions)
See Also:
GridServerClient.addServer(String, String, String, String, org.jclouds.gogrid.options.AddServerOptions...)

power

com.google.common.util.concurrent.ListenableFuture<Server> power(String idOrName,
                                                                 PowerCommand power)
See Also:
GridServerClient.power(String, org.jclouds.gogrid.domain.PowerCommand)

deleteById

com.google.common.util.concurrent.ListenableFuture<Server> deleteById(long id)
See Also:
GridServerClient#deleteById(Long)

deleteByName

com.google.common.util.concurrent.ListenableFuture<Server> deleteByName(String name)
See Also:
GridServerClient.deleteByName(String)

getRamSizes

com.google.common.util.concurrent.ListenableFuture<Set<Option>> getRamSizes()
See Also:
GridServerClient.getRamSizes()

getDatacenters

com.google.common.util.concurrent.ListenableFuture<Set<Option>> getDatacenters()
See Also:
GridServerClient.getDatacenters()


Copyright © 2009-2010 jclouds. All Rights Reserved.