org.jppf.management
Class TaskExecutionNotification

java.lang.Object
  extended by java.util.EventObject
      extended by javax.management.Notification
          extended by org.jppf.management.TaskExecutionNotification
All Implemented Interfaces:
Serializable

public class TaskExecutionNotification
extends Notification

Notification sent to provide information about a task that was executed in a node.

Author:
Laurent Cohen
See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.management.Notification
source
 
Constructor Summary
TaskExecutionNotification(ObjectName source, long sequenceNumber, TaskInformation taskInformation)
          Initialize this notification with the specified parameters.
 
Method Summary
 TaskInformation getTaskInformation()
          Get the object encapsulating information about the task.
 
Methods inherited from class javax.management.Notification
getMessage, getSequenceNumber, getTimeStamp, getType, getUserData, setSequenceNumber, setSource, setTimeStamp, setUserData, toString
 
Methods inherited from class java.util.EventObject
getSource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TaskExecutionNotification

public TaskExecutionNotification(ObjectName source,
                                 long sequenceNumber,
                                 TaskInformation taskInformation)
Initialize this notification with the specified parameters.

Parameters:
source - the emitter MBean's object name.
sequenceNumber - the notification sequence number.
taskInformation - information about the task that triggered this notification.
Method Detail

getTaskInformation

public TaskInformation getTaskInformation()
Get the object encapsulating information about the task.

Returns:
a TaskInformation instance.


Copyright © 2005-2010 JPPF Team.