T - object typepublic interface Sink<T> extends Flushable, Closeable
| Modifier and Type | Method and Description |
|---|---|
void |
put(T object)
Puts an object to this sink.
|
void put(T object) throws IOException, InterruptedException
object - the target objectIOException - if failed to put the object by I/O errorInterruptedException - if interrupted while putting the objectCopyright © 2011–2018 Asakusa Framework Team. All rights reserved.