public void send(String name,String value,long timestamp) throws IOException {
  metrics.add(new MetricTuple(sanitize(name),timestamp,sanitize(value)));
  if (metrics.size() >= batchSize) {
    writeMetrics();
  }
}

public void send ( String name , String value , long timestamp ) throws IOException { metrics . add ( new MetricTuple ( sanitize ( name ) , timestamp , sanitize ( value ) ) ) ; if ( metrics . size ( ) >= batchSize ) { writeMetrics ( ) ; } }
convert the metric to a python tuple of the form : < p / > ( timestamp , ( name , value ) ) < p / > and add it to the list of metrics . if we reach the batch size , write them out .
