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 TypeMethodDescriptionvoiddemand(long n) default voidsetNextDemand(LongConsumer nextDemand)
-
Method Details
-
demand
void demand(long n) -
setNextDemand
-