Package org.jppf.node.provisioning
Class JPPFNodeProvisioning
java.lang.Object
javax.management.NotificationBroadcasterSupport
org.jppf.node.provisioning.JPPFNodeProvisioning
- All Implemented Interfaces:
Serializable,NotificationBroadcaster,NotificationEmitter,org.jppf.node.provisioning.JPPFNodeProvisioningMBean
public class JPPFNodeProvisioning
extends NotificationBroadcasterSupport
implements org.jppf.node.provisioning.JPPFNodeProvisioningMBean
Implementation of the
JPPFNodeProvisioningMBean interface.- Since:
- 4.1
- Author:
- Laurent Cohen
- See Also:
-
Field Summary
Fields inherited from interface org.jppf.node.provisioning.JPPFNodeProvisioningMBean
MBEAN_NAME, SLAVE_STARTED_NOTIFICATION_TYPE, SLAVE_STOPPED_NOTIFICATION_TYPE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintvoidprovisionSlaveNodes(int nbNodes) voidprovisionSlaveNodes(int nbNodes, boolean interruptIfRunning) voidprovisionSlaveNodes(int nbNodes, boolean interruptIfRunning, org.jppf.utils.TypedProperties configOverrides) voidprovisionSlaveNodes(int nbNodes, org.jppf.utils.TypedProperties configOverrides) voidvoidremoveNotificationListener(NotificationListener listener, NotificationFilter filter, Object handback) voidsendNotification(Notification notification) Methods inherited from class javax.management.NotificationBroadcasterSupport
addNotificationListener, getNotificationInfo, handleNotificationMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface javax.management.NotificationBroadcaster
addNotificationListener, getNotificationInfo
-
Constructor Details
-
JPPFNodeProvisioning
public JPPFNodeProvisioning(org.jppf.node.Node node) Initialize this MBean.- Parameters:
node- the JPPF node that holds this manager.
-
-
Method Details
-
getNbSlaves
public int getNbSlaves()- Specified by:
getNbSlavesin interfaceorg.jppf.node.provisioning.JPPFNodeProvisioningMBean
-
provisionSlaveNodes
public void provisionSlaveNodes(int nbNodes) - Specified by:
provisionSlaveNodesin interfaceorg.jppf.node.provisioning.JPPFNodeProvisioningMBean
-
provisionSlaveNodes
public void provisionSlaveNodes(int nbNodes, boolean interruptIfRunning) - Specified by:
provisionSlaveNodesin interfaceorg.jppf.node.provisioning.JPPFNodeProvisioningMBean
-
provisionSlaveNodes
public void provisionSlaveNodes(int nbNodes, org.jppf.utils.TypedProperties configOverrides) - Specified by:
provisionSlaveNodesin interfaceorg.jppf.node.provisioning.JPPFNodeProvisioningMBean
-
provisionSlaveNodes
public void provisionSlaveNodes(int nbNodes, boolean interruptIfRunning, org.jppf.utils.TypedProperties configOverrides) - Specified by:
provisionSlaveNodesin interfaceorg.jppf.node.provisioning.JPPFNodeProvisioningMBean
-
removeNotificationListener
public void removeNotificationListener(NotificationListener listener) throws ListenerNotFoundException - Specified by:
removeNotificationListenerin interfaceNotificationBroadcaster- Overrides:
removeNotificationListenerin classNotificationBroadcasterSupport- Throws:
ListenerNotFoundException
-
removeNotificationListener
public void removeNotificationListener(NotificationListener listener, NotificationFilter filter, Object handback) throws ListenerNotFoundException - Specified by:
removeNotificationListenerin interfaceNotificationEmitter- Overrides:
removeNotificationListenerin classNotificationBroadcasterSupport- Throws:
ListenerNotFoundException
-
sendNotification
- Overrides:
sendNotificationin classNotificationBroadcasterSupport
-