public class GraphiteEmitter extends Object implements com.metamx.emitter.core.Emitter
| Constructor and Description |
|---|
GraphiteEmitter(GraphiteEmitterConfig graphiteEmitterConfig,
List<com.metamx.emitter.core.Emitter> emitterList,
com.fasterxml.jackson.databind.ObjectMapper mapper) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
emit(com.metamx.emitter.core.Event event) |
void |
flush() |
protected static String |
sanitize(String namespace) |
void |
start() |
public GraphiteEmitter(@NotNull
GraphiteEmitterConfig graphiteEmitterConfig,
List<com.metamx.emitter.core.Emitter> emitterList,
@NotNull
com.fasterxml.jackson.databind.ObjectMapper mapper)
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–2016. All rights reserved.