Package io.joynr.messaging.routing
Class TimedDelayed
- java.lang.Object
-
- io.joynr.messaging.routing.TimedDelayed
-
- All Implemented Interfaces:
Comparable<Delayed>,Delayed
- Direct Known Subclasses:
DelayableImmutableMessage
public class TimedDelayed extends Object implements Delayed
-
-
Field Summary
Fields Modifier and Type Field Description protected longdelayUntilDateprotected longsequenceNumber
-
Constructor Summary
Constructors Constructor Description TimedDelayed()TimedDelayed(long delayForMs)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(Delayed other)booleanequals(Object obj)longgetDelay(TimeUnit unit)inthashCode()
-
-
-
Method Detail
-
compareTo
public int compareTo(Delayed other)
- Specified by:
compareToin interfaceComparable<Delayed>
-
-