public class CronPolicy extends NodeSourcePolicy implements org.objectweb.proactive.InitActive
Modifier and Type | Field and Description |
---|---|
protected static org.apache.log4j.Logger |
logger |
nodeSource
Constructor and Description |
---|
CronPolicy()
Proactive default constructor
|
Modifier and Type | Method and Description |
---|---|
org.objectweb.proactive.core.util.wrapper.BooleanWrapper |
activate()
Activates the policy.
|
org.objectweb.proactive.core.util.wrapper.BooleanWrapper |
configure(Object... policyParameters)
Configure a policy with given parameters.
|
String |
getDescription()
Policy description for UI
|
Map<Integer,String> |
getSectionDescriptions() |
void |
initActivity(org.objectweb.proactive.Body body)
Initializes stub to this active object
|
void |
reconfigure(Object... updatedPolicyParameters)
Reconfigure a policy (potentially running) with the given parameters.
|
void |
shutdown(Client initiator)
Shutdown the policy and clears the timer.
|
String |
toString()
Policy string representation.
|
acquireAllNodes, acquireNodes, acquireNodes, acquireNodes, debug, getMeta, getProviderAccessType, getUserAccessType, info, removeAllNodes, removeNode, removeNodes, setNodeSource
public org.objectweb.proactive.core.util.wrapper.BooleanWrapper configure(Object... policyParameters)
configure
in class NodeSourcePolicy
policyParameters
- parameters defined by userpublic void reconfigure(Object... updatedPolicyParameters) throws Exception
NodeSourcePolicy
reconfigure
in class NodeSourcePolicy
updatedPolicyParameters
- parameters potentially containing updated dynamic
parametersIllegalArgumentException
- if parameters are incorrectException
Configurable.dynamic()
public void initActivity(org.objectweb.proactive.Body body)
initActivity
in interface org.objectweb.proactive.InitActive
public org.objectweb.proactive.core.util.wrapper.BooleanWrapper activate()
activate
in class NodeSourcePolicy
public void shutdown(Client initiator)
shutdown
in class NodeSourcePolicy
public String getDescription()
getDescription
in class NodeSourcePolicy
public String toString()
toString
in class NodeSourcePolicy
public Map<Integer,String> getSectionDescriptions()
getSectionDescriptions
in interface NodeSourcePlugin
getSectionDescriptions
in class NodeSourcePolicy