Package org.openjdk.jmh.runner.link
Class BinaryLinkClient
java.lang.Object
org.openjdk.jmh.runner.link.BinaryLinkClient
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final int
private final Socket
private final List
<Serializable> private boolean
private boolean
private final Object
private final ObjectInputStream
private final ObjectOutputStream
private final OutputFormat
private static final int
private int
private final BinaryLinkClient.ForwardingPrintStream
private final BinaryLinkClient.ForwardingPrintStream
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
void
pushException
(BenchmarkException error) private void
pushFrame
(Serializable frame) void
void
private Object
-
Field Details
-
RESET_EACH
private static final int RESET_EACH -
BUFFER_SIZE
private static final int BUFFER_SIZE -
lock
-
clientSocket
-
oos
-
ois
-
streamErr
-
streamOut
-
outputFormat
-
failed
private volatile boolean failed -
resetToGo
private int resetToGo -
delayedFrames
-
inFrame
private boolean inFrame
-
-
Constructor Details
-
BinaryLinkClient
- Throws:
IOException
-
-
Method Details
-
pushFrame
- Throws:
IOException
-
readFrame
- Throws:
IOException
ClassNotFoundException
-
close
- Throws:
IOException
-
handshake
- Throws:
IOException
ClassNotFoundException
-
requestPlan
- Throws:
IOException
ClassNotFoundException
-
pushResults
- Throws:
IOException
-
pushException
- Throws:
IOException
-
pushResultMetadata
- Throws:
IOException
-
getOutStream
-
getErrStream
-
getOutputFormat
-