Package org.openjdk.jmh.runner.link
Class BinaryLinkServer
- java.lang.Object
-
- org.openjdk.jmh.runner.link.BinaryLinkServer
-
public final class BinaryLinkServer extends Object
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.
-
-
Constructor Summary
Constructors Constructor Description BinaryLinkServer(Options opts, OutputFormat out)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetClientPid()BenchmarkExceptiongetException()StringgetHost()BenchmarkResultMetaDatagetMetadata()intgetPort()List<IterationResult>getResults()voidsetPlan(ActionPlan actionPlan)voidterminate()voidwaitFinish()
-
-
-
Constructor Detail
-
BinaryLinkServer
public BinaryLinkServer(Options opts, OutputFormat out) throws IOException
- Throws:
IOException
-
-
Method Detail
-
terminate
public void terminate()
-
waitFinish
public void waitFinish()
-
getException
public BenchmarkException getException()
-
getResults
public List<IterationResult> getResults()
-
getMetadata
public BenchmarkResultMetaData getMetadata()
-
setPlan
public void setPlan(ActionPlan actionPlan)
-
getClientPid
public long getClientPid()
-
getHost
public String getHost()
-
getPort
public int getPort()
-
-