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 |
doWrite(Server server,
Query query,
Iterable<Result> results) |
void |
stop() |
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 stop()
throws LifecycleException
stop in interface OutputWriterstop in class OutputWriterAdapterLifecycleExceptionCopyright © 2010-2016 JmxTrans team. All Rights Reserved.