public class FutureWriter extends Writer
| Constructor and Description |
|---|
FutureWriter(Writer writer) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
enqueue(Future<String> future) |
void |
flush() |
void |
write(char[] cbuf,
int off,
int len) |
public FutureWriter(Writer writer)
public void enqueue(Future<String> future) throws IOException
IOExceptionpublic void write(char[] cbuf,
int off,
int len)
throws IOException
write in class WriterIOExceptionpublic void flush()
throws IOException
flush in interface Flushableflush in class WriterIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class WriterIOExceptionCopyright © 2015. All rights reserved.