public interface AsyncDataProducer extends ResourceHolder
| 限定符和类型 | 方法和说明 |
|---|---|
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 © 2023. All rights reserved.