public abstract class AbstractSslHandlerThroughputBenchmark extends AbstractSslHandlerBenchmark
| 限定符和类型 | 类和说明 |
|---|---|
static class |
AbstractSslHandlerThroughputBenchmark.BufferType |
AbstractSslHandlerBenchmark.SslEngineProviderAbstractMicrobenchmark.HarnessExecutor| 限定符和类型 | 字段和说明 |
|---|---|
AbstractSslHandlerThroughputBenchmark.BufferType |
bufferType |
protected EmbeddedChannel |
channel |
int |
messageSize |
protected ByteBuf |
wrapSrcBuffer |
cipher, clientCtx, clientSslHandler, serverCtx, serverSslHandler, sslProviderDEFAULT_FORKSBASE_JVM_ARGS, DEFAULT_MEASURE_ITERATIONS, DEFAULT_WARMUP_ITERATIONS| 构造器和说明 |
|---|
AbstractSslHandlerThroughputBenchmark() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected ByteBuf |
allocateBuffer(int size) |
protected ByteBuf |
doWrite(int numWrites) |
void |
setup() |
void |
tearDown() |
destroySslHandlers, doHandshake, handleUnexpectedException, initSslHandlers, newClientHandler, newServerHandlergetForks, jvmArgs, newOptionsBuildergetMeasureIterations, getReportDir, getWarmupIterations, removeAssertions, runpublic int messageSize
public AbstractSslHandlerThroughputBenchmark.BufferType bufferType
protected ByteBuf wrapSrcBuffer
protected EmbeddedChannel channel
public final void setup()
throws java.lang.Exception
java.lang.Exceptionpublic final void tearDown()
throws java.lang.Exception
java.lang.Exceptionprotected final ByteBuf allocateBuffer(int size)
protected final ByteBuf doWrite(int numWrites) throws java.lang.Exception
java.lang.Exception