public class TcpOutputWriter<T extends WriterBasedOutputWriter> extends OutputWriterAdapter
| Modifier and Type | Class and Description |
|---|---|
static class |
TcpOutputWriter.Builder<T extends WriterBasedOutputWriter> |
| Constructor and Description |
|---|
TcpOutputWriter(T target,
stormpot.LifecycledPool<SocketPoolable> socketPool) |
| Modifier and Type | Method and Description |
|---|---|
static <T extends WriterBasedOutputWriter> |
builder(InetSocketAddress server,
T target) |
void |
doWrite(Server server,
Query query,
com.google.common.collect.ImmutableList<Result> results) |
void |
stop() |
getSettings, setSettings, start, validateSetuppublic TcpOutputWriter(@Nonnull T target, @Nonnull stormpot.LifecycledPool<SocketPoolable> socketPool)
public void doWrite(Server server, Query query, com.google.common.collect.ImmutableList<Result> results) throws Exception
Exceptionpublic void stop()
throws LifecycleException
stop in interface OutputWriterstop in class OutputWriterAdapterLifecycleExceptionpublic static <T extends WriterBasedOutputWriter> TcpOutputWriter.Builder<T> builder(@Nonnull InetSocketAddress server, @Nonnull T target)
Copyright © 2010-2015 JmxTrans team. All Rights Reserved.