public class StatsDEmitter extends Object implements com.metamx.emitter.core.Emitter
| Constructor and Description |
|---|
StatsDEmitter(StatsDEmitterConfig config,
com.fasterxml.jackson.databind.ObjectMapper mapper) |
StatsDEmitter(StatsDEmitterConfig config,
com.fasterxml.jackson.databind.ObjectMapper mapper,
com.timgroup.statsd.StatsDClient client) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
emit(com.metamx.emitter.core.Event event) |
void |
flush() |
void |
start() |
public StatsDEmitter(StatsDEmitterConfig config, com.fasterxml.jackson.databind.ObjectMapper mapper)
public StatsDEmitter(StatsDEmitterConfig config, com.fasterxml.jackson.databind.ObjectMapper mapper, com.timgroup.statsd.StatsDClient client)
public void start()
start in interface com.metamx.emitter.core.Emitterpublic void emit(com.metamx.emitter.core.Event event)
emit in interface com.metamx.emitter.core.Emitterpublic void flush()
throws IOException
flush in interface com.metamx.emitter.core.Emitterflush in interface FlushableIOExceptionpublic void close()
throws IOException
close in interface com.metamx.emitter.core.Emitterclose in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2011–2017. All rights reserved.