Interface DemandChain
- All Known Implementing Classes:
DemandingFlusher
,FragmentExtension
,FragmentExtension.FragmentingDemandingFlusher
,PerMessageDeflateExtension
public interface DemandChain
This is extended by an
Extension
so it can intercept demand calls.
Demand is called by the application and the call is forwarded through the ExtensionStack
for every Extension
which implements this interface.-
Method Summary
Modifier and TypeMethodDescriptionvoid
demand
(long n) default void
setNextDemand
(LongConsumer nextDemand)
-
Method Details
-
demand
void demand(long n) -
setNextDemand
-