WSO2 Statos2.0架构之Cloud Control API

public interface CloudControllerService 
{
    public CartridgeInfo getCartridgeInfo(String cartridgeType) throws UnregisteredCartridgeException;//获取已注册服务;抛出服务未注册异常
    public int getPendingInstanceCount(String domainName, String subDomainName);
    public String[] getRegisteredCartridges();
    public boolean registerService(String domain, String subDomain, String tenantRange, String cartridgeType,
        String hostName, Properties properties, byte[] payload) throws UnregisteredCartridgeException;
    public String startInstance(String domainName, String subDomainName);
    public boolean terminateAllInstances(String domainName, String subDomainName);
    public boolean terminateInstance(String domainName, String subDomainName);
    public boolean terminateLastlySpawnedInstance(String domainName, String subDomainName);
    public boolean unregisterService(String domain, String subDomain) throws UnregisteredServiceException;
}


 

 

你可能感兴趣的:(cloud)