Package org.apache.storm.metric
Interface IEventLogger
- All Known Implementing Classes:
FileBasedEventLogger
public interface IEventLogger
EventLogger interface for logging the event info to a sink like log file or db for inspecting the events via UI for debugging.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic class
A wrapper for the fields that we would log. -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
void
This method would be invoked when theEventLoggerBolt
receives a tuple from the spouts or bolts that has event logging enabled.void
-
Method Details
-
prepare
-
log
This method would be invoked when theEventLoggerBolt
receives a tuple from the spouts or bolts that has event logging enabled.- Parameters:
e
- the event
-
close
void close()
-