com.wavefront.ingester.ReportPointDecoderWrapper Maven / Gradle / Ivy
package com.wavefront.ingester;
import java.util.List;
import javax.validation.constraints.NotNull;
import wavefront.report.ReportPoint;
/**
* Wraps {@link Decoder} as {@link ReportableEntityDecoder}.
*
* @author [email protected]
*/
@Deprecated
public class ReportPointDecoderWrapper implements ReportableEntityDecoder {
private final Decoder delegate;
public ReportPointDecoderWrapper(@NotNull Decoder delegate) {
this.delegate = delegate;
}
@Override
public void decode(String msg, List out, String customerId) {
delegate.decodeReportPoints(msg, out, customerId);
}
@Override
public void decode(String msg, List out, String customerId,
IngesterContext ctx) {
delegate.decodeReportPoints(msg, out, customerId, ctx);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy