public class AbstractSslEngineBenchmark extends AbstractMicrobenchmark
Modifier and Type | Class and Description |
---|---|
static class |
AbstractSslEngineBenchmark.BufferType |
static class |
AbstractSslEngineBenchmark.SslEngineProvider |
AbstractMicrobenchmark.HarnessExecutor
Modifier and Type | Field and Description |
---|---|
AbstractSslEngineBenchmark.BufferType |
bufferType |
String |
cipher |
protected SSLEngine |
clientEngine |
protected SSLEngine |
serverEngine |
AbstractSslEngineBenchmark.SslEngineProvider |
sslProvider |
DEFAULT_FORKS
BASE_JVM_ARGS, DEFAULT_MEASURE_ITERATIONS, DEFAULT_WARMUP_ITERATIONS
Constructor and Description |
---|
AbstractSslEngineBenchmark() |
Modifier and Type | Method and Description |
---|---|
protected ByteBuffer |
allocateBuffer(int size) |
protected void |
destroyEngines() |
protected void |
destroyHandshakeBuffers() |
protected boolean |
doHandshake() |
protected void |
freeBuffer(ByteBuffer buffer) |
protected void |
initEngines(ByteBufAllocator allocator) |
protected void |
initHandshakeBuffers() |
protected SSLEngine |
newClientEngine(ByteBufAllocator allocator) |
protected SSLEngine |
newServerEngine(ByteBufAllocator allocator) |
getForks, jvmArgs, newOptionsBuilder
getMeasureIterations, getReportDir, getWarmupIterations, handleUnexpectedException, removeAssertions, run
public AbstractSslEngineBenchmark.SslEngineProvider sslProvider
public AbstractSslEngineBenchmark.BufferType bufferType
public String cipher
protected SSLEngine clientEngine
protected SSLEngine serverEngine
protected final void initEngines(ByteBufAllocator allocator)
protected final void destroyEngines()
protected final void initHandshakeBuffers()
protected final void destroyHandshakeBuffers()
protected final boolean doHandshake() throws SSLException
SSLException
protected final SSLEngine newClientEngine(ByteBufAllocator allocator)
protected final SSLEngine newServerEngine(ByteBufAllocator allocator)
protected final ByteBuffer allocateBuffer(int size)
protected final void freeBuffer(ByteBuffer buffer)
Copyright © 2008–2017 The Netty Project. All rights reserved.