Class ChannelJobPair

java.lang.Object
org.jppf.utils.Pair<org.jppf.execute.ExecutorChannel<?>,AbstractServerJob>
org.jppf.server.job.ChannelJobPair
All Implemented Interfaces:
Serializable

public class ChannelJobPair extends org.jppf.utils.Pair<org.jppf.execute.ExecutorChannel<?>,AbstractServerJob>
Instances of this class associate a node channel with a job that is being executed on the corresponding node.
Author:
Laurent Cohen
See Also:
  • Field Summary

    Fields inherited from class org.jppf.utils.Pair

    first, second
  • Constructor Summary

    Constructors
    Constructor
    Description
    ChannelJobPair(org.jppf.execute.ExecutorChannel<?> first, AbstractServerJob second)
    Initialize this object with the specified parameters.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Indicates whether some other object is "equal to" this one.

    Methods inherited from class org.jppf.utils.Pair

    first, hashCode, left, right, second, toString

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • ChannelJobPair

      public ChannelJobPair(org.jppf.execute.ExecutorChannel<?> first, AbstractServerJob second)
      Initialize this object with the specified parameters.
      Parameters:
      first - - the first object of this pair.
      second - - the second object of this pair.
  • Method Details

    • equals

      public boolean equals(Object obj)
      Indicates whether some other object is "equal to" this one.
      Overrides:
      equals in class org.jppf.utils.Pair<org.jppf.execute.ExecutorChannel<?>,AbstractServerJob>
      Parameters:
      obj - - the reference object with which to compare.
      Returns:
      true if this object is the same as the obj.
      See Also: