| Package | Description |
|---|---|
| net.lecousin.framework.concurrent.util.production.simple |
Production model: a producer produces objects that are consumed by a consumer.
This allows asynchronous production and consumption. An example is a server task producing an output, and a consumer sending it over the network. |
| net.lecousin.framework.io.util |
Utility classes for IO.
|
| Modifier and Type | Method and Description |
|---|---|
AsyncSupplier<T,? extends Exception> |
Producer.produce(Production<T> production)
Ask to produce a new object.
|
| Modifier and Type | Method and Description |
|---|---|
AsyncSupplier<ByteBuffer,IOException> |
IOReaderAsProducer.produce(Production<ByteBuffer> production) |
Copyright © 2019. All rights reserved.