Package com.wavefront.ingester
Class EventDecoder
- java.lang.Object
-
- com.wavefront.ingester.EventDecoder
-
- All Implemented Interfaces:
ReportableEntityDecoder<String,ReportEvent>
public class EventDecoder extends Object implements ReportableEntityDecoder<String,ReportEvent>
Event decoder that takes in data in the following format: { @Event } startTimeMillis [endTimeMillis] eventName [annotations]- Author:
- vasily@wavefront.com
-
-
Constructor Summary
Constructors Constructor Description EventDecoder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddecode(String msg, List<ReportEvent> out, String customerId, IngesterContext ctx)Decode graphite points and dump them into an output array.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.wavefront.ingester.ReportableEntityDecoder
decode, decode
-
-
-
-
Method Detail
-
decode
public void decode(String msg, List<ReportEvent> out, String customerId, IngesterContext ctx)
Description copied from interface:ReportableEntityDecoderDecode graphite points and dump them into an output array. The supplied customer id will be set and no customer id extraction will be attempted.- Specified by:
decodein interfaceReportableEntityDecoder<String,ReportEvent>- Parameters:
msg- Message to parse.out- List to output the parsed point.customerId- The customer id to use as the table for the result ReportPoint.ctx- The ingester context with extra params for decoding.
-
-