@Beta
public interface HostAdministrationApi
HostAdministrationAsyncApi
Modifier and Type | Method and Description |
---|---|
boolean |
disable(String hostId)
Prevent the specified host from accepting new instances.
|
boolean |
enable(String hostId)
Allow the specified host to accept new instances.
|
com.google.common.collect.FluentIterable<? extends Host> |
list()
Returns the list of hosts
|
com.google.common.collect.FluentIterable<? extends HostResourceUsage> |
listResourceUsage(String hostId)
Retrieves the physical/usage resource on a specific host
|
boolean |
reboot(String hostId)
Reboot a host.
|
boolean |
shutdown(String hostId)
Shutdown a host.
|
boolean |
startMaintenance(String hostId)
Start host maintenance window.
|
boolean |
startup(String hostId)
Startup a host.
|
boolean |
stopMaintenance(String hostId)
Stop host maintenance window.
|
com.google.common.collect.FluentIterable<? extends Host> list()
com.google.common.collect.FluentIterable<? extends HostResourceUsage> listResourceUsage(String hostId)
boolean enable(String hostId)
boolean disable(String hostId)
boolean startMaintenance(String hostId)
boolean stopMaintenance(String hostId)
boolean startup(String hostId)
boolean shutdown(String hostId)
boolean reboot(String hostId)
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.