public class AbstractSslHandlerBenchmark extends AbstractMicrobenchmark
Modifier and Type | Class and Description |
---|---|
static class |
AbstractSslHandlerBenchmark.SslEngineProvider |
AbstractMicrobenchmark.HarnessExecutor
Modifier and Type | Field and Description |
---|---|
String |
cipher |
protected EmbeddedChannelWriteAccumulatingHandlerContext |
clientCtx |
protected SslHandler |
clientSslHandler |
protected EmbeddedChannelWriteAccumulatingHandlerContext |
serverCtx |
protected SslHandler |
serverSslHandler |
AbstractSslHandlerBenchmark.SslEngineProvider |
sslProvider |
DEFAULT_FORKS
BASE_JVM_ARGS, DEFAULT_MEASURE_ITERATIONS, DEFAULT_WARMUP_ITERATIONS
Constructor and Description |
---|
AbstractSslHandlerBenchmark() |
Modifier and Type | Method and Description |
---|---|
protected void |
destroySslHandlers() |
protected void |
doHandshake() |
static void |
handleUnexpectedException(Throwable t) |
protected void |
initSslHandlers(ByteBufAllocator allocator) |
protected SslHandler |
newClientHandler(ByteBufAllocator allocator) |
protected SslHandler |
newServerHandler(ByteBufAllocator allocator) |
getForks, jvmArgs, newOptionsBuilder
getMeasureIterations, getReportDir, getWarmupIterations, removeAssertions, run
public AbstractSslHandlerBenchmark.SslEngineProvider sslProvider
public String cipher
protected SslHandler clientSslHandler
protected SslHandler serverSslHandler
protected EmbeddedChannelWriteAccumulatingHandlerContext clientCtx
protected EmbeddedChannelWriteAccumulatingHandlerContext serverCtx
protected final void initSslHandlers(ByteBufAllocator allocator)
protected final void destroySslHandlers()
protected final SslHandler newClientHandler(ByteBufAllocator allocator)
protected final SslHandler newServerHandler(ByteBufAllocator allocator)
public static void handleUnexpectedException(Throwable t)
Copyright © 2008–2017 The Netty Project. All rights reserved.