Constructor and Description |
---|
ServiceEmitter(String service,
String host,
Emitter emitter) |
ServiceEmitter(String service,
String host,
Emitter emitter,
com.google.common.collect.ImmutableMap<String,String> otherServiceDimensions) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
emit(Event event) |
void |
emit(ServiceEventBuilder builder) |
void |
flush() |
String |
getHost() |
String |
getService() |
void |
start() |
String |
toString() |
public String getService()
public String getHost()
public void emit(ServiceEventBuilder builder)
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.