Groovy Documentation

org.linkedin.glu.orchestration.engine.core.action.execution
[Groovy] Class ActionExecutionFactoryImpl

java.lang.Object
  org.linkedin.glu.orchestration.engine.core.action.execution.ActionExecutionFactoryImpl

class ActionExecutionFactoryImpl

This implementation uses a convention:

Authors:
yan@pongasoft.com


Field Summary
static java.lang.String ENCRYPTION_KEYS

static java.lang.String MODULE

static Logger log

 
Property Summary
java.lang.Object NoOpActionDescriptor_execution

For NoOpActionDescriptor: do nothing

java.lang.Object ScriptLifecycleInstallActionDescriptor_execution

For ScriptLifecycleInstallActionDescriptor: installs the script

java.lang.Object ScriptLifecycleUninstallActionDescriptor_execution

For ScriptLifecycleUninstallActionDescriptor: uninstalls the script

java.lang.Object ScriptTransitionActionDescriptor_execution

For ScriptTransitionActionDescriptor: execute the action (transition) on the agent and wait for the action to complete

AgentFactory agentFactory

int agentRecoveryNumRetries

when a communication exception is detected with the agent, it will retry a certain number of times

Timespan agentRecoveryTimeout

when a communication exception is detected with the agent, it will sleep for this time before trying again

AgentURIProvider agentURIProvider

EncryptionKeysProvider encryptionKeysProvider

MountPointStateProvider mountPointStateProvider

Timespan selfUpgradeWaitForRestartTimeout

Timespan timeout

the timeout for the agent operations

Timespan timeoutForStatePropagation

the timeout for state propagation (ZooKeeper)

 
Method Summary
java.util.Map computeActionArgs(ScriptTransitionActionDescriptor ad)

Compute the action args (automatically adds encryption keys if any present)

ActionExecution createAction(ActionDescriptor actionDescriptor)

 
Methods inherited from class java.lang.Object
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()
 

Field Detail

ENCRYPTION_KEYS

public static final java.lang.String ENCRYPTION_KEYS


MODULE

public static final java.lang.String MODULE


log

public static final Logger log


 
Property Detail

NoOpActionDescriptor_execution

java.lang.Object NoOpActionDescriptor_execution
For NoOpActionDescriptor: do nothing


ScriptLifecycleInstallActionDescriptor_execution

java.lang.Object ScriptLifecycleInstallActionDescriptor_execution
For ScriptLifecycleInstallActionDescriptor: installs the script


ScriptLifecycleUninstallActionDescriptor_execution

java.lang.Object ScriptLifecycleUninstallActionDescriptor_execution
For ScriptLifecycleUninstallActionDescriptor: uninstalls the script


ScriptTransitionActionDescriptor_execution

java.lang.Object ScriptTransitionActionDescriptor_execution
For ScriptTransitionActionDescriptor: execute the action (transition) on the agent and wait for the action to complete


agentFactory

@Initializable(required = true)
AgentFactory agentFactory


agentRecoveryNumRetries

@Initializable(required = false)
int agentRecoveryNumRetries
when a communication exception is detected with the agent, it will retry a certain number of times


agentRecoveryTimeout

@Initializable(required = false)
Timespan agentRecoveryTimeout
when a communication exception is detected with the agent, it will sleep for this time before trying again


agentURIProvider

@Initializable(required = true)
AgentURIProvider agentURIProvider


encryptionKeysProvider

@Initializable(required = false)
EncryptionKeysProvider encryptionKeysProvider


mountPointStateProvider

@Initializable
MountPointStateProvider mountPointStateProvider


selfUpgradeWaitForRestartTimeout

@Initializable(required = false)
Timespan selfUpgradeWaitForRestartTimeout


timeout

@Initializable(required = false)
Timespan timeout
the timeout for the agent operations


timeoutForStatePropagation

@Initializable(required = false)
Timespan timeoutForStatePropagation
the timeout for state propagation (ZooKeeper)


 
Method Detail

computeActionArgs

java.util.Map computeActionArgs(ScriptTransitionActionDescriptor ad)
Compute the action args (automatically adds encryption keys if any present)


createAction

@Override
ActionExecution createAction(ActionDescriptor actionDescriptor)


 

Groovy Documentation