public class CaEnrollBenchmark extends org.xipki.util.BenchmarkExecutor implements BenchmarkHttpClient.ResponseHandler
| Modifier and Type | Class and Description |
|---|---|
static class |
CaEnrollBenchmark.Conf |
| Constructor and Description |
|---|
CaEnrollBenchmark(CaEnrollBenchEntry benchmarkEntry,
int maxRequests,
int num,
int queueSize,
String description) |
| Modifier and Type | Method and Description |
|---|---|
protected long |
getRealAccount(long account) |
protected Runnable |
getTestor() |
org.bouncycastle.asn1.cmp.PKIMessage |
nextCertRequest() |
void |
onComplete(io.netty.handler.codec.http.FullHttpResponse response) |
void |
onError() |
public CaEnrollBenchmark(CaEnrollBenchEntry benchmarkEntry, int maxRequests, int num, int queueSize, String description) throws IOException, org.xipki.util.InvalidConfException
IOExceptionorg.xipki.util.InvalidConfExceptionprotected Runnable getTestor() throws Exception
getTestor in class org.xipki.util.BenchmarkExecutorExceptionprotected long getRealAccount(long account)
getRealAccount in class org.xipki.util.BenchmarkExecutorpublic org.bouncycastle.asn1.cmp.PKIMessage nextCertRequest()
throws IOException,
CertificateException
IOExceptionCertificateExceptionpublic void onComplete(io.netty.handler.codec.http.FullHttpResponse response)
onComplete in interface BenchmarkHttpClient.ResponseHandlerpublic void onError()
onError in interface BenchmarkHttpClient.ResponseHandlerCopyright © 2021. All rights reserved.