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 SummaryNested ClassesModifier and TypeInterfaceDescriptionstatic classA wrapper for the fields that we would log.
- 
Method SummaryModifier and TypeMethodDescriptionvoidclose()voidThis method would be invoked when theEventLoggerBoltreceives a tuple from the spouts or bolts that has event logging enabled.void
- 
Method Details- 
prepare
- 
logThis method would be invoked when theEventLoggerBoltreceives a tuple from the spouts or bolts that has event logging enabled.- Parameters:
- e- the event
 
- 
closevoid close()
 
-