Class JobDriver

All Implemented Interfaces:
Serializable

public class JobDriver extends AbstractJobComponent
AN instance of this class represents a JPPF driver in the jobs hierarchy. It is essentially a container for a TopologyDriver with the additional ability to navigate the jobs hierarchy, which is orthogonal to the topology hierarchy.
Since:
5.1
Author:
Laurent Cohen
See Also:
  • Method Details

    • getJobManager

      public org.jppf.server.job.management.DriverJobManagementMBean getJobManager()
      Get the proxy to the driver MBean that manages and monitors jobs.
      Returns:
      an instance of DriverJobManagementMBean.
    • getTopologyDriver

      public TopologyDriver getTopologyDriver()
      Get the associated driver from the topology monitor.
      Returns:
      an instance of TopologyDriver.
    • getJob

      public Job getJob(String jobUuid)
      Get a job handled by this driver from its uuid.
      Parameters:
      jobUuid - the uuid of the job to retrieve.
      Returns:
      a Job instance, or null if the driver has no such job.
    • getJobs

      public List<Job> getJobs()
      Get the list of jobs handled by this driver.
      Returns:
      a list of Job instances, possibly empty.
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getDisplayName

      public String getDisplayName()
      Description copied from class: AbstractComponent
      Get a user-friendly representation of this topology component.
      Overrides:
      getDisplayName in class AbstractComponent<AbstractJobComponent>
      Returns:
      a displayable string representing this object.