Package org.openjdk.jmh.runner.link
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 class
private final class
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final BinaryLinkServer.Acceptor
private static final int
private long
private final AtomicReference
<BenchmarkException> private final AtomicReference
<BinaryLinkServer.Handler> private final AtomicReference
<BenchmarkResultMetaData> private final Options
private final OutputFormat
private final AtomicReference
<ActionPlan> private final AtomicReference
<List<IterationResult>> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlong
getHost()
private InetAddress
private int
int
getPort()
void
setPlan
(ActionPlan actionPlan) void
void
-
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()
-