public class ScribeEventListener extends Object implements BuckEventListener
BuckEventListener that serializes events to JSON and sends them to Scribe.| Constructor and Description |
|---|
ScribeEventListener(ScribeEventListenerConfig config,
ScribeLogger logger,
ExecutorService dispatcher)
Create new instance of
ScribeEventListener |
| Modifier and Type | Method and Description |
|---|---|
void |
handle(BuckEvent event) |
boolean |
isEnabledEvent(BuckEvent event)
Returns true if the event should be sent to scribe; false otherwise.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclosepublic ScribeEventListener(ScribeEventListenerConfig config, ScribeLogger logger, ExecutorService dispatcher)
ScribeEventListenerlogger - The actual scribe logger used to accept messagesdispatcher - Executor service used to dispatch messages