public class SubmitTrackerToken
extends java.lang.Object
| Constructor and Description |
|---|
SubmitTrackerToken(long id) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj)
Compares this object to the specified object.
|
void |
failure(java.lang.Throwable t) |
long |
getId() |
SubmitCompleteCallback |
getSubmitCompleteCallback() |
int |
hashCode()
Returns a hash code for this
Long. |
boolean |
isRequestComplete() |
void |
setCompleted() |
void |
setSubmitCompleteCallback(SubmitCompleteCallback submitCompleteCallback) |
public long getId()
public int hashCode()
Long. The result is the exclusive
OR of the two halves of the primitive long value held by this
Long object. That is, the hashcode is the value of the
expression: (int) (this.longValue() ^ (this.longValue() >>> 32))
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
true
if and only if the argument is not null and is a
Long object that contains the same long value as
this object.equals in class java.lang.Objectobj - the object to compare with.true if the objects are the same; false
otherwise.public void setCompleted()
public void failure(java.lang.Throwable t)
public boolean isRequestComplete()
public void setSubmitCompleteCallback(SubmitCompleteCallback submitCompleteCallback)
public SubmitCompleteCallback getSubmitCompleteCallback()