Class TopologyDriver

All Implemented Interfaces:
Serializable

public class TopologyDriver extends AbstractTopologyComponent
Implementation of TopologyDriver for JPPF drivers.
Since:
5.0
Author:
Laurent Cohen
See Also:
  • Method Details

    • isDriver

      public boolean isDriver()
      This method always returns true.
      Overrides:
      isDriver in class AbstractTopologyComponent
      Returns:
      true.
    • getJmx

      public org.jppf.management.JMXDriverConnectionWrapper getJmx()
      Get the wrapper holding the connection to the JMX server on a driver or node.
      Returns:
      a JMXDriverConnectionWrapper instance.
    • getConnection

      public JPPFClientConnection getConnection()
      Get the driver connection.
      Returns:
      a JPPFClientConnection instance.
    • getForwarder

      public org.jppf.management.forwarding.NodeForwardingMBean getForwarder()
      Get the proxy to the driver MBean that forwards node management requests.
      Returns:
      an instance of JPPFNodeForwardingMBean.
    • 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.
    • getDiagnostics

      public org.jppf.management.diagnostics.DiagnosticsMBean getDiagnostics()
      Gert the diagnostics mbean for this driver.
      Returns:
      a DiagnosticsMBean instance.
    • toString

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

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

      public List<TopologyNode> getNodes()
      Convenience method to get the nodes attached to this driver as TopologyNode objects.
      Returns:
      a list of TopologyNode objects, possibly empty if this driver has no attache node.
      Since:
      5.1
    • getPeers

      public List<TopologyPeer> getPeers()
      Convenience method to get the peers connected to this driver as TopologyPeer objects.
      Returns:
      a list of TopologyPeer objects, possibly empty if this driver is not connected to any peer.
      Since:
      5.1
    • getNodesAndPeers

      public List<TopologyNode> getNodesAndPeers()
      Convenience method to get the nodes and peers connected to this driver as TopologyNode objects.
      Returns:
      a list of TopologyNode objects, possibly empty if this driver has no attached node and isn't connected to any peer.
      Since:
      5.1