public void certificateCreated(long startTimeMs,long finishTimeMs){
  certificatesGenerated.incrementAndGet();
  certificateGenerationTimeMs.addAndGet(finishTimeMs - startTimeMs);
  firstCertificateGeneratedTimestamp.compareAndSet(0L,System.currentTimeMillis());
}

public void certificateCreated ( long startTimeMs , long finishTimeMs ) { certificatesGenerated . incrementAndGet ( ) ; certificateGenerationTimeMs . addAndGet ( finishTimeMs - startTimeMs ) ; firstCertificateGeneratedTimestamp . compareAndSet ( 0L , System . currentTimeMillis ( ) ) ; }
records a certificate generation that started at starttimems and completed at finishtimems .
