Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

Anchor
getCartridgeInfo

...

getCartridgeInfo

getCartridgeInfo

Code Block
languagejava
public CartridgeInfo getCartridgeInfo(String cartridgeType) throws UnregisteredCartridgeException;

...

Exception Thrown

Description

UnregisteredCartridgeException

Occurs when the cartridge type requested by this service is not registered.

Anchor
getPendingInstanceCount

...

getPendingInstanceCount

getPendingInstanceCount

Code Block
languagejava
public int getPendingInstanceCount(String domainName, String subDomainName);

...

Return Value

Description

int

The number of pending instances for this domain is returned. This will return zero if there are no instances for this domain.

...

Anchor
getRegisteredCartridges

...

getRegisteredCartridges

getRegisteredCartridges

Code Block
languagejava
public String[] getRegisteredCartridges();

...

Return Value

Description

String

This will return an array containing the types of registered cartridges.

 

...

Anchor
#registerService
#registerService

registerService

Code Block
languagejava
public boolean registerService(String domain, String subDomain, String tenantRange, String cartridgeType,
        String hostName, Properties properties, byte[] payload) throws UnregisteredCartridgeException;

...

Exception Thrown

Description

UnregisteredCartridgeException

Occurs when the cartridge type requested by this service is not registered.

...


Anchor
#startInstance
#startInstance

startInstance

Code Block
languagejava
public String startInstance(String domainName, String subDomainName);

...

Return Value

Description

String     

The public IP which is associated with the newly started instance will be returned.

Anchor
terminateAllInstances

...

terminateAllInstances

terminateAllInstances

Code Block
languagejava
public boolean terminateAllInstances(String domainName, String subDomainName);

...

Return Value

Description

boolean

"True" or "false" will be returned to indicate whether all the instances were terminated successfully or not.

Anchor
terminateInstance

...

terminateInstance

terminateInstance

Code Block
languagejava
public boolean terminateInstance(String domainName, String subDomainName);

...

Return Value

Description

boolean

"True" or "false" will be returned to indicate whether an instance was terminated successfully or not.

Anchor
terminateLastlySpawnedInstance

...

terminateLastlySpawnedInstance

terminateLastlySpawnedInstance

Code Block
languagejava
public boolean terminateLastlySpawnedInstance(String domainName, String subDomainName);

...

Return Value

Description

boolean

"True" or "false" will be returned to indicate whether the termination was successfully or not.

Anchor
unregisterService

...

unregisterService

unregisterService

Code Block
languagejava
 public boolean unregisterService(String domain, String subDomain) throws UnregisteredServiceException;

...