Package com.wavefront.ingester
Class PickleProtocolDecoder
- java.lang.Object
-
- com.wavefront.ingester.PickleProtocolDecoder
-
- All Implemented Interfaces:
ReportableEntityDecoder<byte[],ReportPoint>
@Deprecated public class PickleProtocolDecoder extends Object implements ReportableEntityDecoder<byte[],ReportPoint>
Deprecated.Pickle protocol format decoder. https://docs.python.org/2/library/pickle.html- Author:
- Mike McLaughlin (mike@wavefront.com)
-
-
Constructor Summary
Constructors Constructor Description PickleProtocolDecoder(String hostName, List<String> customSourceTags, MetricMangler mangler, int port)Deprecated.Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voiddecode(byte[] msg, List<ReportPoint> out)Deprecated.Certain decoders support decoding the customer id from the input line itself.voiddecode(byte[] msg, List<ReportPoint> out, String customerId, IngesterContext ctx)Deprecated.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
-
-
-
-
Field Detail
-
logger
protected static final Logger logger
Deprecated.
-
-
Constructor Detail
-
PickleProtocolDecoder
public PickleProtocolDecoder(String hostName, List<String> customSourceTags, MetricMangler mangler, int port)
Deprecated.Constructor.- Parameters:
hostName- the default host name.customSourceTags- list of source tags for this host.mangler- the metric mangler object.port- the listening port (for debug logging)
-
-
Method Detail
-
decode
public void decode(byte[] msg, List<ReportPoint> out, String customerId, IngesterContext ctx)Deprecated.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<byte[],ReportPoint>- 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.
-
decode
public void decode(byte[] msg, List<ReportPoint> out)Deprecated.Description copied from interface:ReportableEntityDecoderCertain decoders support decoding the customer id from the input line itself.- Specified by:
decodein interfaceReportableEntityDecoder<byte[],ReportPoint>- Parameters:
msg- Message to parse.out- List to output the parsed point.
-
-