public interface Trackable
Modifier and Type | Field and Description |
---|---|
static long |
UNSPECIFIED
Returned value when a given component does not provide access to the requested
trait
|
Modifier and Type | Method and Description |
---|---|
default long |
expectedFromUpstream() |
default long |
getCapacity()
Return defined element capacity
|
default java.lang.Throwable |
getError()
Current error if any, default to null
|
default long |
getPending()
Return current used space in buffer
|
default boolean |
isCancelled() |
default boolean |
isStarted()
Has this upstream started or "onSubscribed" ?
|
default boolean |
isTerminated()
Has this upstream finished or "completed" / "failed" ?
|
default long |
limit() |
default long |
requestedFromDownstream()
Return defined element capacity, used to drive new
Subscription request needs. |
static final long UNSPECIFIED
default long expectedFromUpstream()
default long getCapacity()
default java.lang.Throwable getError()
default long getPending()
default boolean isCancelled()
default boolean isStarted()
default boolean isTerminated()
default long limit()
default long requestedFromDownstream()
Subscription
request needs.
This is the maximum in-flight data allowed to transit to this elements.