Package org.apache.storm.metric
Class FileBasedEventLogger
java.lang.Object
org.apache.storm.metric.FileBasedEventLogger
- All Implemented Interfaces:
- IEventLogger
- 
Nested Class SummaryNested classes/interfaces inherited from interface org.apache.storm.metric.IEventLoggerIEventLogger.EventInfo
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected Stringvoidclose()voidlog(IEventLogger.EventInfo event) This method would be invoked when theEventLoggerBoltreceives a tuple from the spouts or bolts that has event logging enabled.void
- 
Constructor Details- 
FileBasedEventLoggerpublic FileBasedEventLogger()
 
- 
- 
Method Details- 
prepare- Specified by:
- preparein interface- IEventLogger
 
- 
logDescription copied from interface:IEventLoggerThis method would be invoked when theEventLoggerBoltreceives a tuple from the spouts or bolts that has event logging enabled.- Specified by:
- login interface- IEventLogger
- Parameters:
- event- the event
 
- 
buildLogMessage
- 
closepublic void close()- Specified by:
- closein interface- IEventLogger
 
 
-