Constructor and Description |
---|
GraphiteEmitter(GraphiteEmitterConfig graphiteEmitterConfig,
List<Emitter> alertEmitters,
List<Emitter> requestLogEmitters) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
emit(Event event) |
void |
flush() |
protected static String |
sanitize(String namespace) |
protected static String |
sanitize(String namespace,
Boolean replaceSlashToDot) |
void |
start() |
public GraphiteEmitter(GraphiteEmitterConfig graphiteEmitterConfig, List<Emitter> alertEmitters, List<Emitter> requestLogEmitters)
public void flush() throws IOException
flush
in interface Emitter
flush
in interface Flushable
IOException
public void close() throws IOException
close
in interface Emitter
close
in interface Closeable
close
in interface AutoCloseable
IOException
Copyright © 2011–2018. All rights reserved.