public class AckFutureReference extends java.lang.Object implements java.lang.Comparable<AckFutureReference>
Constructor and Description |
---|
AckFutureReference(long id,
AckFuture future) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(AckFutureReference o) |
boolean |
equals(java.lang.Object obj) |
java.util.concurrent.Future<IAcknowledgement> |
getFuture() |
long |
getRequestId() |
int |
hashCode() |
void |
weaken()
converts the soft reference to a weak reference
|
public AckFutureReference(long id, AckFuture future)
public java.util.concurrent.Future<IAcknowledgement> getFuture()
public long getRequestId()
public void weaken()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int compareTo(AckFutureReference o)
compareTo
in interface java.lang.Comparable<AckFutureReference>