| Constructor and Description |
|---|
StartStopHandler(CloudPool cloudPool)
Creates a
StartStopHandler for a given CloudPool. |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
getStatus()
Retrieves the execution status for the cloud pool.
|
javax.ws.rs.core.Response |
start()
Starts the cloud pool.
|
javax.ws.rs.core.Response |
stop()
Stops the cloud pool.
|
public StartStopHandler(CloudPool cloudPool)
StartStopHandler for a given CloudPool.cloudPool - The back-end CloudPool to manage.@POST @Path(value="/start") public javax.ws.rs.core.Response start()
ErrorType message on an attempt to start an unconfigured
CloudPool. On other errors: HTTP response code 500 with
an ErrorType message.@POST @Path(value="/stop") public javax.ws.rs.core.Response stop()
ErrorType
message.@GET @Path(value="/status") public javax.ws.rs.core.Response getStatus()
CloudPoolStatus message.ErrorType
message.Copyright © 2011–2016 elastisys. All rights reserved.