The number of elements accepted by this session.
The number of elements accepted by this session.
The total size of the elements accepted by this session.
The total size of the elements accepted by this session.
The total size of the elements accepted by this session.
The total size of the elements accepted by this session.
true if the sink is full
Attempts to add a value to the sink.
Attempts to add a value to the sink. If the sink is full, this method will typically return false. The caller should try to offer the value again once the refiller is exectuted.
true if the value was added.
Sets a refiller on the sink.
Sets a refiller on the sink. The refiller is executed when the sink is interested in receiving more deliveries.
An estimate of the capacity left in the session before it stops accepting more elements.
An estimate of the capacity left in the session before it stops accepting more elements.
Before a delivery producer can send Delivery objects to a delivery consumer, it creates a Delivery session which it uses to send the deliveries over.