public final class FileEventStream extends Object implements EventStream
Modifier and Type | Class and Description |
---|---|
static class |
FileEventStream.Path |
Modifier and Type | Method and Description |
---|---|
void |
onEvent(EventType type,
String jsonEncodedEvent)
Write an eventRecord with specific type.
|
public void onEvent(EventType type, String jsonEncodedEvent)
EventStream
onEvent
in interface EventStream
type
- a event typejsonEncodedEvent
- an event encoded as jsonCopyright © 2016 The Apache Software Foundation. All rights reserved.