public void send(List<StDatapoint> datapoints) {
    for (StDatapoint metric : datapoints) {
      StDatapointValidator.validate(metric);
    }
    sender.send(datapoints);
  }
public void send ( List < StDatapoint > datapoints ) { for ( StDatapoint metric : datapoints ) { StDatapointValidator . validate ( metric ) ; } sender . send ( datapoints ) ; }
Send datapoints list.
@param datapoints datapoints
@throws IllegalArgumentException if one of datapoints is invalid