Package org.openjdk.jmh.runner.link
Class BinaryLinkClient
- java.lang.Object
-
- org.openjdk.jmh.runner.link.BinaryLinkClient
-
public final class BinaryLinkClient extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description BinaryLinkClient(java.lang.String hostName, int hostPort)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()java.io.PrintStreamgetErrStream()OutputFormatgetOutputFormat()java.io.PrintStreamgetOutStream()Optionshandshake()voidpushException(BenchmarkException error)voidpushResultMetadata(BenchmarkResultMetaData res)voidpushResults(IterationResult res)ActionPlanrequestPlan()
-
-
-
Method Detail
-
close
public void close() throws java.io.IOException- Throws:
java.io.IOException
-
handshake
public Options handshake() throws java.io.IOException, java.lang.ClassNotFoundException
- Throws:
java.io.IOExceptionjava.lang.ClassNotFoundException
-
requestPlan
public ActionPlan requestPlan() throws java.io.IOException, java.lang.ClassNotFoundException
- Throws:
java.io.IOExceptionjava.lang.ClassNotFoundException
-
pushResults
public void pushResults(IterationResult res) throws java.io.IOException
- Throws:
java.io.IOException
-
pushException
public void pushException(BenchmarkException error) throws java.io.IOException
- Throws:
java.io.IOException
-
pushResultMetadata
public void pushResultMetadata(BenchmarkResultMetaData res) throws java.io.IOException
- Throws:
java.io.IOException
-
getOutStream
public java.io.PrintStream getOutStream()
-
getErrStream
public java.io.PrintStream getErrStream()
-
getOutputFormat
public OutputFormat getOutputFormat()
-
-