Package org.jppf.server.job
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
ConstructorsConstructorDescriptionChannelJobPair(org.jppf.execute.ExecutorChannel<?> first, AbstractServerJob second) Initialize this object with the specified parameters. -
Method Summary
Methods inherited from class org.jppf.utils.Pair
first, hashCode, left, right, second, toString
-
Constructor Details
-
ChannelJobPair
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
Indicates whether some other object is "equal to" this one.- Overrides:
equalsin classorg.jppf.utils.Pair<org.jppf.execute.ExecutorChannel<?>,AbstractServerJob> - Parameters:
obj- - the reference object with which to compare.- Returns:
trueif this object is the same as the obj.- See Also:
-