public interface AsyncDataProducer extends ResourceHolder
| Modifier and Type | Method and Description | 
|---|---|
| int | available()Returns the number of bytes immediately available for output. | 
| void | produce(DataStreamChannel channel)Triggered to signal the ability of the underlying data channel
 to accept more data. | 
releaseResourcesint available()
void produce(DataStreamChannel channel) throws IOException
channel - the data channel capable to accepting more data.IOExceptionCopyright © 2005–2022 The Apache Software Foundation. All rights reserved.