public class WriterPoolOutputWriter<T extends WriterBasedOutputWriter> extends OutputWriterAdapter
| Constructor and Description |
|---|
WriterPoolOutputWriter(T target,
stormpot.LifecycledPool<? extends WriterPoolable> writerPool,
stormpot.Timeout poolClaimTimeout) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
doWrite(Server server,
Query query,
Iterable<Result> results) |
getSettings, start, validateSetuppublic WriterPoolOutputWriter(@Nonnull T target, @Nonnull stormpot.LifecycledPool<? extends WriterPoolable> writerPool, @Nonnull stormpot.Timeout poolClaimTimeout)
public void doWrite(Server server, Query query, Iterable<Result> results) throws Exception
Exceptionpublic void close()
throws LifecycleException
close in interface OutputWriterclose in interface AutoCloseableclose in class OutputWriterAdapterLifecycleExceptionCopyright © 2010-2017 JmxTrans team. All Rights Reserved.