public abstract class AbstractSslEngineThroughputBenchmark extends AbstractSslEngineBenchmark
AbstractSslEngineBenchmark.BufferType, AbstractSslEngineBenchmark.SslEngineProvider
AbstractMicrobenchmark.HarnessExecutor
限定符和类型 | 字段和说明 |
---|---|
int |
messageSize |
protected java.nio.ByteBuffer |
wrapSrcBuffer |
bufferType, cipher, clientEngine, serverEngine, sslProvider
DEFAULT_FORKS
BASE_JVM_ARGS, DEFAULT_MEASURE_ITERATIONS, DEFAULT_WARMUP_ITERATIONS
构造器和说明 |
---|
AbstractSslEngineThroughputBenchmark() |
限定符和类型 | 方法和说明 |
---|---|
protected void |
doSetup() |
protected void |
doTearDown() |
protected java.nio.ByteBuffer |
doWrap(int numWraps) |
void |
setup() |
void |
tearDown() |
allocateBuffer, destroyEngines, destroyHandshakeBuffers, doHandshake, freeBuffer, initEngines, initHandshakeBuffers, newClientEngine, newServerEngine
getForks, jvmArgs, newOptionsBuilder
getMeasureIterations, getReportDir, getWarmupIterations, handleUnexpectedException, removeAssertions, run
public final void setup() throws java.lang.Exception
java.lang.Exception
protected void doSetup() throws java.lang.Exception
java.lang.Exception
public final void tearDown() throws java.lang.Exception
java.lang.Exception
protected void doTearDown() throws java.lang.Exception
java.lang.Exception
protected final java.nio.ByteBuffer doWrap(int numWraps) throws javax.net.ssl.SSLException
javax.net.ssl.SSLException