org.jclouds.openstack.nova.v2_0.extensions
Interface HostAdministrationAsyncApi


public interface HostAdministrationAsyncApi

Provides asynchronous access to Host Administration features via the REST API.

Author:
Adam Lowe
See Also:
HostAdministrationApi, , ,

Method Summary
 com.google.common.util.concurrent.ListenableFuture<Boolean> disableHost(String hostId)
           
 com.google.common.util.concurrent.ListenableFuture<Boolean> enableHost(String hostId)
           
 com.google.common.util.concurrent.ListenableFuture<Set<HostResourceUsage>> getHostResourceUsage(String hostId)
           
 com.google.common.util.concurrent.ListenableFuture<Set<Host>> listHosts()
           
 com.google.common.util.concurrent.ListenableFuture<Boolean> rebootHost(String hostId)
           
 com.google.common.util.concurrent.ListenableFuture<Boolean> shutdownHost(String hostId)
           
 com.google.common.util.concurrent.ListenableFuture<Boolean> startHostMaintenance(String hostId)
           
 com.google.common.util.concurrent.ListenableFuture<Boolean> startupHost(String hostId)
           
 com.google.common.util.concurrent.ListenableFuture<Boolean> stopHostMaintenance(String hostId)
           
 

Method Detail

listHosts

com.google.common.util.concurrent.ListenableFuture<Set<Host>> listHosts()
See Also:
HostAdministrationApi.listHosts()

getHostResourceUsage

com.google.common.util.concurrent.ListenableFuture<Set<HostResourceUsage>> getHostResourceUsage(String hostId)
See Also:
HostAdministrationApi.getHostResourceUsage(String)

enableHost

com.google.common.util.concurrent.ListenableFuture<Boolean> enableHost(String hostId)
See Also:
HostAdministrationApi.enableHost(String)

disableHost

com.google.common.util.concurrent.ListenableFuture<Boolean> disableHost(String hostId)
See Also:
HostAdministrationApi.disableHost(String)

startHostMaintenance

com.google.common.util.concurrent.ListenableFuture<Boolean> startHostMaintenance(String hostId)
See Also:
HostAdministrationApi.startHostMaintenance(String)

stopHostMaintenance

com.google.common.util.concurrent.ListenableFuture<Boolean> stopHostMaintenance(String hostId)
See Also:
HostAdministrationApi.stopHostMaintenance(String)

startupHost

com.google.common.util.concurrent.ListenableFuture<Boolean> startupHost(String hostId)
See Also:
HostAdministrationApi.startupHost(String)

shutdownHost

com.google.common.util.concurrent.ListenableFuture<Boolean> shutdownHost(String hostId)
See Also:
HostAdministrationApi.shutdownHost(String)

rebootHost

com.google.common.util.concurrent.ListenableFuture<Boolean> rebootHost(String hostId)
See Also:
HostAdministrationApi.rebootHost(String)


Copyright © 2009-2012 jclouds. All Rights Reserved.