org.jclouds.elasticstack
Interface ElasticStackAsyncClient


public interface ElasticStackAsyncClient

Provides asynchronous access to elasticstack via their REST API.

Author:
Adrian Cole
See Also:
ElasticStackClient,

Method Summary
 com.google.common.util.concurrent.ListenableFuture<ServerInfo> createAndStartServer(Server createServer)
           
 com.google.common.util.concurrent.ListenableFuture<DriveInfo> createDrive(Drive createDrive)
           
 com.google.common.util.concurrent.ListenableFuture<ServerInfo> createServer(Server createServer)
           
 com.google.common.util.concurrent.ListenableFuture<Void> destroyDrive(String uuid)
           
 com.google.common.util.concurrent.ListenableFuture<Void> destroyServer(String uuid)
           
 com.google.common.util.concurrent.ListenableFuture<DriveInfo> getDriveInfo(String uuid)
           
 com.google.common.util.concurrent.ListenableFuture<ServerInfo> getServerInfo(String uuid)
           
 com.google.common.util.concurrent.ListenableFuture<Void> imageDrive(String source, String destination)
           
 com.google.common.util.concurrent.ListenableFuture<Void> imageDrive(String source, String destination, ImageConversionType conversionType)
           
 com.google.common.util.concurrent.ListenableFuture<Set<DriveInfo>> listDriveInfo()
           
 com.google.common.util.concurrent.ListenableFuture<Set<String>> listDrives()
           
 com.google.common.util.concurrent.ListenableFuture<Set<ServerInfo>> listServerInfo()
           
 com.google.common.util.concurrent.ListenableFuture<Set<String>> listServers()
           
 com.google.common.util.concurrent.ListenableFuture<Payload> readDrive(String uuid, long offset, long size)
           
 com.google.common.util.concurrent.ListenableFuture<Void> resetServer(String uuid)
           
 com.google.common.util.concurrent.ListenableFuture<DriveInfo> setDriveData(String uuid, DriveData setDrive)
           
 com.google.common.util.concurrent.ListenableFuture<ServerInfo> setServerConfiguration(String uuid, Server setServer)
           
 com.google.common.util.concurrent.ListenableFuture<Void> shutdownServer(String uuid)
           
 com.google.common.util.concurrent.ListenableFuture<Void> startServer(String uuid)
           
 com.google.common.util.concurrent.ListenableFuture<Void> stopServer(String uuid)
           
 com.google.common.util.concurrent.ListenableFuture<Void> writeDrive(String uuid, Payload content)
           
 com.google.common.util.concurrent.ListenableFuture<Void> writeDrive(String uuid, Payload content, long offset)
           
 

Method Detail

listServers

com.google.common.util.concurrent.ListenableFuture<Set<String>> listServers()
See Also:
ElasticStackClient.listServers()

listServerInfo

com.google.common.util.concurrent.ListenableFuture<Set<ServerInfo>> listServerInfo()
See Also:
ElasticStackClient.listServerInfo()

getServerInfo

com.google.common.util.concurrent.ListenableFuture<ServerInfo> getServerInfo(String uuid)
See Also:
ElasticStackClient.getServerInfo(java.lang.String)

createServer

com.google.common.util.concurrent.ListenableFuture<ServerInfo> createServer(Server createServer)
See Also:
ElasticStackClient.createServer(org.jclouds.elasticstack.domain.Server)

setServerConfiguration

com.google.common.util.concurrent.ListenableFuture<ServerInfo> setServerConfiguration(String uuid,
                                                                                      Server setServer)
See Also:
ElasticStackClient.setServerConfiguration(java.lang.String, org.jclouds.elasticstack.domain.Server)

destroyServer

com.google.common.util.concurrent.ListenableFuture<Void> destroyServer(String uuid)
See Also:
ElasticStackClient.destroyServer(java.lang.String)

startServer

com.google.common.util.concurrent.ListenableFuture<Void> startServer(String uuid)
See Also:
ElasticStackClient.startServer(java.lang.String)

stopServer

com.google.common.util.concurrent.ListenableFuture<Void> stopServer(String uuid)
See Also:
ElasticStackClient.stopServer(java.lang.String)

shutdownServer

com.google.common.util.concurrent.ListenableFuture<Void> shutdownServer(String uuid)
See Also:
ElasticStackClient.shutdownServer(java.lang.String)

resetServer

com.google.common.util.concurrent.ListenableFuture<Void> resetServer(String uuid)
See Also:
ElasticStackClient.resetServer(java.lang.String)

listDrives

com.google.common.util.concurrent.ListenableFuture<Set<String>> listDrives()
See Also:
ElasticStackClient.listDrives()

listDriveInfo

com.google.common.util.concurrent.ListenableFuture<Set<DriveInfo>> listDriveInfo()
See Also:
ElasticStackClient.listDriveInfo()

getDriveInfo

com.google.common.util.concurrent.ListenableFuture<DriveInfo> getDriveInfo(String uuid)
See Also:
ElasticStackClient.getDriveInfo(java.lang.String)

createDrive

com.google.common.util.concurrent.ListenableFuture<DriveInfo> createDrive(Drive createDrive)
See Also:
ElasticStackClient.createDrive(org.jclouds.elasticstack.domain.Drive)

setDriveData

com.google.common.util.concurrent.ListenableFuture<DriveInfo> setDriveData(String uuid,
                                                                           DriveData setDrive)
See Also:
ElasticStackClient.setDriveData(java.lang.String, org.jclouds.elasticstack.domain.DriveData)

destroyDrive

com.google.common.util.concurrent.ListenableFuture<Void> destroyDrive(String uuid)
See Also:
ElasticStackClient.destroyDrive(java.lang.String)

createAndStartServer

com.google.common.util.concurrent.ListenableFuture<ServerInfo> createAndStartServer(Server createServer)
See Also:
ElasticStackClient.createAndStartServer(org.jclouds.elasticstack.domain.Server)

imageDrive

com.google.common.util.concurrent.ListenableFuture<Void> imageDrive(String source,
                                                                    String destination)
See Also:
ElasticStackClient.imageDrive(String,String)

imageDrive

com.google.common.util.concurrent.ListenableFuture<Void> imageDrive(String source,
                                                                    String destination,
                                                                    ImageConversionType conversionType)
See Also:
ElasticStackClient.imageDrive(String,String,ImageConversionType)

readDrive

com.google.common.util.concurrent.ListenableFuture<Payload> readDrive(String uuid,
                                                                      long offset,
                                                                      long size)
See Also:
ElasticStackClient.readDrive(java.lang.String, long, long)

writeDrive

com.google.common.util.concurrent.ListenableFuture<Void> writeDrive(String uuid,
                                                                    Payload content)
See Also:
ElasticStackClient.writeDrive(String, Payload)

writeDrive

com.google.common.util.concurrent.ListenableFuture<Void> writeDrive(String uuid,
                                                                    Payload content,
                                                                    long offset)
See Also:
ElasticStackClient.writeDrive(String, Payload, long)


Copyright © 2009-2012 jclouds. All Rights Reserved.