public class OcspBenchmark extends org.xipki.util.BenchmarkExecutor implements BenchmarkHttpClient.ResponseHandler
| Constructor and Description |
|---|
OcspBenchmark(org.xipki.security.X509Cert issuerCert,
String responderUrl,
org.xipki.ocsp.client.RequestOptions requestOptions,
Iterator<BigInteger> serials,
int maxRequests,
int queueSize,
String description) |
| Modifier and Type | Method and Description |
|---|---|
protected Runnable |
getTestor() |
void |
onComplete(io.netty.handler.codec.http.FullHttpResponse response) |
void |
onError() |
public OcspBenchmark(org.xipki.security.X509Cert issuerCert,
String responderUrl,
org.xipki.ocsp.client.RequestOptions requestOptions,
Iterator<BigInteger> serials,
int maxRequests,
int queueSize,
String description)
protected Runnable getTestor() throws Exception
getTestor in class org.xipki.util.BenchmarkExecutorExceptionpublic void onComplete(io.netty.handler.codec.http.FullHttpResponse response)
onComplete in interface BenchmarkHttpClient.ResponseHandlerpublic void onError()
onError in interface BenchmarkHttpClient.ResponseHandlerCopyright © 2020. All rights reserved.