Class BinaryLinkServer
java.lang.Object
org.openjdk.jmh.runner.link.BinaryLinkServer
Accepts the binary data from the forked VM and pushes it to parent VM
as appropriate. This server assumes there is only the one and only
client at any given point of time.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate final classprivate final class -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final BinaryLinkServer.Acceptorprivate static final intprivate longprivate final AtomicReference<BenchmarkException> private final AtomicReference<BinaryLinkServer.Handler> private final AtomicReference<BenchmarkResultMetaData> private final Optionsprivate final OutputFormatprivate final AtomicReference<ActionPlan> private final AtomicReference<List<IterationResult>> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlonggetHost()private InetAddressprivate intintgetPort()voidsetPlan(ActionPlan actionPlan) voidvoid
-
Field Details
-
BUFFER_SIZE
private static final int BUFFER_SIZE -
opts
-
out
-
methods
-
forbidden
-
acceptor
-
handler
-
results
-
metadata
-
exception
-
plan
-
clientPid
private volatile long clientPid
-
-
Constructor Details
-
BinaryLinkServer
- Throws:
IOException
-
-
Method Details
-
terminate
public void terminate() -
waitFinish
public void waitFinish() -
getException
-
getResults
-
getMetadata
-
setPlan
-
getListenAddress
-
getListenPort
private int getListenPort() -
getClientPid
public long getClientPid() -
getHost
-
getPort
public int getPort()
-