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