public class JsonEventWriter extends Object
| Constructor and Description |
|---|
JsonEventWriter(Set<EventTypeMetadata<?>> eventTypes) |
| Modifier and Type | Method and Description |
|---|---|
<T> void |
writeEvents(EventClient.EventGenerator<T> events,
OutputStream out) |
@Inject public JsonEventWriter(Set<EventTypeMetadata<?>> eventTypes)
public <T> void writeEvents(EventClient.EventGenerator<T> events, OutputStream out) throws IOException
IOExceptionCopyright © 2010–2024 Airlift. All rights reserved.