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.
|
releaseResources
int available()
void produce(DataStreamChannel channel) throws IOException
channel
- the data channel capable to accepting more data.IOException
Copyright © 2005–2021 The Apache Software Foundation. All rights reserved.