public abstract class RMAwareNodeSourcePolicy extends NodeSourcePolicy implements RMEventListener
Modifier and Type | Field and Description |
---|---|
protected RMInitialState |
initialState |
protected RMMonitoring |
rmMonitoring |
nodeSource
Constructor and Description |
---|
RMAwareNodeSourcePolicy() |
Modifier and Type | Method and Description |
---|---|
org.objectweb.proactive.core.util.wrapper.BooleanWrapper |
activate()
Activates the policy.
|
void |
nodeEvent(RMNodeEvent event)
new node available in RM.
|
void |
nodeSourceEvent(RMNodeSourceEvent event)
new node source available in RM.
|
void |
rmEvent(RMEvent event)
RM is shutting down
|
void |
shutdown(Client initiator)
Shutdown the policy
|
acquireAllNodes, acquireNodes, acquireNodes, acquireNodes, configure, debug, getDescription, getMeta, getProviderAccessType, getSectionDescriptions, getUserAccessType, info, reconfigure, removeAllNodes, removeNode, removeNodes, setNodeSource, toString
protected RMInitialState initialState
protected RMMonitoring rmMonitoring
public org.objectweb.proactive.core.util.wrapper.BooleanWrapper activate()
activate
in class NodeSourcePolicy
public void shutdown(Client initiator)
shutdown
in class NodeSourcePolicy
public void rmEvent(RMEvent event)
RMEventListener
rmEvent
in interface RMEventListener
event
- object representing the event.RMEventListener.rmEvent(org.ow2.proactive.resourcemanager.common.event.RMEvent)
public void nodeSourceEvent(RMNodeSourceEvent event)
RMEventListener
nodeSourceEvent
in interface RMEventListener
event
- node source event containing new NodeSource
properties.RMEventListener.nodeSourceEvent(org.ow2.proactive.resourcemanager.common.event.RMNodeSourceEvent)
public void nodeEvent(RMNodeEvent event)
RMEventListener
nodeEvent
in interface RMEventListener
event
- node event containing new RMNode
properties.RMEventListener.nodeEvent(org.ow2.proactive.resourcemanager.common.event.RMNodeEvent)