Blue Mind
Release 1.0

net.bluemind.core.node
Class TaskRef

java.lang.Object
  extended by net.bluemind.core.node.TaskRef

public class TaskRef
extends java.lang.Object

Reference to a task running on a remote Host


Constructor Summary
TaskRef(long ref)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 long getLastStatus()
          Gets the last time a remote task status was checked.
 long getRef()
          Gets the unique task identifier of a remote task
 int hashCode()
           
 void setLastStatus(long currentTimeMillis)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TaskRef

public TaskRef(long ref)
Method Detail

getRef

public long getRef()
Gets the unique task identifier of a remote task

Returns:
a unique task identifier

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

setLastStatus

public void setLastStatus(long currentTimeMillis)

getLastStatus

public long getLastStatus()
Gets the last time a remote task status was checked.

Returns:

Blue Mind
Release 1.0