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