Modifier and Type | Method and Description |
---|---|
Duration |
elapsed()
Get the elapsed
Duration since the previous onNext (or onSubscribe in
case this represents the first onNext). |
Duration |
elapsedSinceSubscription()
Get the elapsed
Duration since the subscription (onSubscribe signal). |
T |
get()
Get the value wrapped by this
Timed . |
Instant |
timestamp()
Get the timestamp of the emission of this timed onNext, as an
Instant . |
Duration elapsed()
Duration
since the previous onNext (or onSubscribe in
case this represents the first onNext). If possible, nanosecond resolution is used.Duration
since the previous onNextDuration elapsedSinceSubscription()
Duration
since the subscription (onSubscribe signal).
If possible, nanosecond resolution is used.Duration
since subscriptionInstant timestamp()
Instant
.
It has the same resolution as Instant.ofEpochMilli(long)
.Instant
for this timed onNext