All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.wavefront.ingester.ReportPointDecoderWrapper Maven / Gradle / Ivy

There is a newer version: 2023-22.3
Show newest version
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