Groovy Documentation

org.linkedin.glu.orchestration.engine.planner
[Groovy] Interface PlannerService


interface PlannerService

Authors:
yan@pongasoft.com


Property Summary
static java.lang.String AGENT_SELF_UPGRADE_MOUNT_POINT

 
Method Summary
Plan computeAgentsCleanupUpgradePlan(java.lang.Object params, java.lang.Object metadata)

Computes the deployment plan for cleaning any upgrade that failed

Plan computeAgentsUpgradePlan(java.lang.Object params, java.lang.Object metadata)

Computes the deployment plan for upgrading agents

Plan computeBouncePlan(java.lang.Object params, java.lang.Object metadata)

Compute a bounce plan to bounce (= stop/start) containers.

java.util.Collection computeBouncePlans(java.lang.Object params, java.lang.Object metadata)

Compute a bounce plan to bounce (= stop/start) containers.

Plan computeDeployPlan(java.lang.Object params, java.lang.Object metadata)

@param params.system the 'expected' system (with filters)

java.util.Collection computeDeployPlans(java.lang.Object params, java.lang.Object metadata)

@param params.system the 'expected' system (with filters)

Plan computeRedeployPlan(java.lang.Object params, java.lang.Object metadata)

Compute a redeploy plan (= undeploy/deploy).

java.util.Collection computeRedeployPlans(java.lang.Object params, java.lang.Object metadata)

Compute a redeploy plan (= undeploy/deploy).

Plan computeTransitionPlan(java.lang.Object params, java.lang.Object metadata)

Computes a transition plan.

java.util.Collection computeTransitionPlans(java.lang.Object params, java.lang.Object metadata)

Computes a transition plan.

Plan computeUndeployPlan(java.lang.Object params, java.lang.Object metadata)

Compute an undeploy plan.

java.util.Collection computeUndeployPlans(java.lang.Object params, java.lang.Object metadata)

Compute an undeploy plan.

 

Property Detail

AGENT_SELF_UPGRADE_MOUNT_POINT

static final java.lang.String AGENT_SELF_UPGRADE_MOUNT_POINT


 
Method Detail

computeAgentsCleanupUpgradePlan

Plan computeAgentsCleanupUpgradePlan(java.lang.Object params, java.lang.Object metadata)
Computes the deployment plan for cleaning any upgrade that failed
Parameters:
params.type - plan types (null means sequential, otherwise the type you want)
metadata - any metadata to add to the plan(s)


computeAgentsUpgradePlan

Plan computeAgentsUpgradePlan(java.lang.Object params, java.lang.Object metadata)
Computes the deployment plan for upgrading agents
Parameters:
params.type - plan types (null means sequential, otherwise the type you want)
metadata - any metadata to add to the plan(s)


computeBouncePlan

Plan computeBouncePlan(java.lang.Object params, java.lang.Object metadata)
Compute a bounce plan to bounce (= stop/start) containers.
Parameters:
params.type - plan types (null means sequential, otherwise the type you want)
metadata - any metadata to add to the plan(s)


computeBouncePlans

java.util.Collection computeBouncePlans(java.lang.Object params, java.lang.Object metadata)
Compute a bounce plan to bounce (= stop/start) containers.
Parameters:
params.type - plan types (null means both types, otherwise the type you want)
metadata - any metadata to add to the plan(s)


computeDeployPlan

Plan computeDeployPlan(java.lang.Object params, java.lang.Object metadata)
Parameters:
params.system - the 'expected' system (with filters)
params.name - name of the plan created
params.type - plan types (null means sequential, otherwise the type you want)
metadata - any metadata to add to the plan(s)
Returns:
the plans (0, 1 or 2) depending on whether there is a plan at all or if more than 1 type


computeDeployPlans

java.util.Collection computeDeployPlans(java.lang.Object params, java.lang.Object metadata)
Parameters:
params.system - the 'expected' system (with filters)
params.name - name of the plan created
params.type - plan types (null means both types, otherwise the type you want)
metadata - any metadata to add to the plan(s)
Returns:
the plans (0, 1 or 2) depending on whether there is a plan at all or if more than 1 type


computeRedeployPlan

Plan computeRedeployPlan(java.lang.Object params, java.lang.Object metadata)
Compute a redeploy plan (= undeploy/deploy).
Parameters:
params.type - plan types (null means sequential, otherwise the type you want)
metadata - any metadata to add to the plan(s)


computeRedeployPlans

java.util.Collection computeRedeployPlans(java.lang.Object params, java.lang.Object metadata)
Compute a redeploy plan (= undeploy/deploy).
Parameters:
params.type - plan types (null means both types, otherwise the type you want)
metadata - any metadata to add to the plan(s)


computeTransitionPlan

Plan computeTransitionPlan(java.lang.Object params, java.lang.Object metadata)
Computes a transition plan.
Parameters:
params.type - plan types (null means sequential, otherwise the type you want)
metadata - any metadata to add to the plan(s)


computeTransitionPlans

java.util.Collection computeTransitionPlans(java.lang.Object params, java.lang.Object metadata)
Computes a transition plan.
Parameters:
params.type - plan types (null means both types, otherwise the type you want)
metadata - any metadata to add to the plan(s)


computeUndeployPlan

Plan computeUndeployPlan(java.lang.Object params, java.lang.Object metadata)
Compute an undeploy plan.
Parameters:
params.type - plan types (null means sequential, otherwise the type you want)
metadata - any metadata to add to the plan(s)


computeUndeployPlans

java.util.Collection computeUndeployPlans(java.lang.Object params, java.lang.Object metadata)
Compute an undeploy plan.
Parameters:
params.type - plan types (null means both types, otherwise the type you want)
metadata - any metadata to add to the plan(s)


 

Groovy Documentation