public class TimedDelayed extends Object implements Delayed
| Modifier and Type | Field and Description |
|---|---|
protected long |
delayUntilDate |
protected long |
sequenceNumber |
| Constructor and Description |
|---|
TimedDelayed() |
TimedDelayed(long delayForMs) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Delayed other) |
boolean |
equals(Object obj) |
long |
getDelay(TimeUnit unit) |
int |
hashCode() |
protected long delayUntilDate
protected long sequenceNumber
public TimedDelayed()
public TimedDelayed(long delayForMs)
public int compareTo(Delayed other)
compareTo in interface Comparable<Delayed>Copyright © 2021. All rights reserved.