Package org.xipki.qa.ocsp
Class OcspBenchmark
- java.lang.Object
-
- org.xipki.util.BenchmarkExecutor
-
- org.xipki.qa.ocsp.OcspBenchmark
-
public class OcspBenchmark extends org.xipki.util.BenchmarkExecutorOCSP benchmark.- Since:
- 2.0.0
- Author:
- Lijun Liao (xipki)
-
-
Constructor Summary
Constructors Constructor Description OcspBenchmark(org.xipki.security.X509Cert issuerCert, String responderUrl, org.xipki.ocsp.client.RequestOptions requestOptions, Iterator<BigInteger> serials, int maxRequests, String description)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanask(BigInteger[] serialNumbers)protected RunnablegetTester()
-
-
-
Constructor Detail
-
OcspBenchmark
public OcspBenchmark(org.xipki.security.X509Cert issuerCert, String responderUrl, org.xipki.ocsp.client.RequestOptions requestOptions, Iterator<BigInteger> serials, int maxRequests, String description) throws MalformedURLException- Throws:
MalformedURLException
-
-
Method Detail
-
getTester
protected Runnable getTester()
- Specified by:
getTesterin classorg.xipki.util.BenchmarkExecutor
-
ask
public boolean ask(BigInteger[] serialNumbers)
-
-