com.espertech.esper.core.deploy
Interface DeploymentStateService

All Known Implementing Classes:
DeploymentStateServiceImpl

public interface DeploymentStateService

Interface for a service maintaining deployment state.


Method Summary
 void addUpdateDeployment(DeploymentInformation descriptor)
          Add or update the deployment information using the contained deployment id as a key.
 void destroy()
          Destroy the service.
 DeploymentInformation[] getAllDeployments()
          Returns deployment information for all deployments.
 DeploymentInformation getDeployment(java.lang.String deploymentId)
          Returns the deployment informaton for a given deployment id.
 java.lang.String[] getDeployments()
          Returns a list of deployment ids of deployments.
 java.lang.String nextDeploymentId()
          Allocates a new deployment id.
 void remove(java.lang.String deploymentId)
           
 

Method Detail

nextDeploymentId

java.lang.String nextDeploymentId()
Allocates a new deployment id.

Returns:
deployment id

getDeployments

java.lang.String[] getDeployments()
Returns a list of deployment ids of deployments.

Returns:
deployment ids

getDeployment

DeploymentInformation getDeployment(java.lang.String deploymentId)
Returns the deployment informaton for a given deployment id.

Parameters:
deploymentId - id
Returns:
deployment information

getAllDeployments

DeploymentInformation[] getAllDeployments()
Returns deployment information for all deployments.

Returns:
array of deployment info

addUpdateDeployment

void addUpdateDeployment(DeploymentInformation descriptor)
Add or update the deployment information using the contained deployment id as a key.

Parameters:
descriptor - to store

destroy

void destroy()
Destroy the service.


remove

void remove(java.lang.String deploymentId)
Parameters:
deploymentId -

© 2006-2015 EsperTech Inc.
All rights reserved.
Visit us at espertech.com