public class LocalComputeProviderImpl extends Object implements ComputeProvider
| Constructor and Description |
|---|
LocalComputeProviderImpl() |
| Modifier and Type | Method and Description |
|---|---|
InstanceDescription |
describeRunningInstance(Credential credential,
String instanceId,
String xmlProps)
This method retrieves description of initiated instance.
|
URL |
getWebappURL(Credential credential,
String instanceId,
String xmlProps)
This method returns the URL of the instancewebapp on the instance with
the provided id.
|
boolean |
isInstanceBooting(Credential credential,
String instanceId,
String xmlProps)
This method returns true if the webapp of provided instance is currently
booting.
|
boolean |
isInstanceRunning(Credential credential,
String instanceId,
String xmlProps)
This method returns true if the instance is successfully running.
|
boolean |
isWebappRunning(Credential credential,
String instanceId,
String xmlProps)
This method returns true if the webapp of provided instance is
successfully running.
|
String |
start(Credential cred,
String xmlProps)
This method starts an instance-image with provided credential and
Compute-provider properties.
|
void |
stop(Credential credential,
String instanceId,
String xmlProps)
This method stops the running instance with provided id.
|
public InstanceDescription describeRunningInstance(Credential credential, String instanceId, String xmlProps)
ComputeProviderdescribeRunningInstance in interface ComputeProvidercredential - Compute-provider credentialspublic URL getWebappURL(Credential credential, String instanceId, String xmlProps) throws Exception
ComputeProvidergetWebappURL in interface ComputeProvidercredential - Compute-provider credentialsExceptionpublic boolean isInstanceBooting(Credential credential, String instanceId, String xmlProps) throws Exception
ComputeProviderisInstanceBooting in interface ComputeProvidercredential - Compute-provider credentialsExceptionpublic boolean isInstanceRunning(Credential credential, String instanceId, String xmlProps) throws Exception
ComputeProviderisInstanceRunning in interface ComputeProvidercredential - Compute-provider credentialsExceptionpublic boolean isWebappRunning(Credential credential, String instanceId, String xmlProps) throws Exception
ComputeProviderisWebappRunning in interface ComputeProvidercredential - Compute-provider credentialsExceptionpublic String start(Credential cred, String xmlProps) throws Exception
ComputeProviderstart in interface ComputeProviderExceptionpublic void stop(Credential credential, String instanceId, String xmlProps) throws Exception
ComputeProviderstop in interface ComputeProvidercredential - Compute-provider credentialsExceptionCopyright © 2009–2014 DuraSpace. All rights reserved.