Package org.openjdk.jmh.runner.link
Class BinaryLinkServer.Handler
java.lang.Object
java.lang.Thread
org.openjdk.jmh.runner.link.BinaryLinkServer.Handler
- All Implemented Interfaces:
Runnable
- Enclosing class:
BinaryLinkServer
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Thread
Thread.Builder, Thread.State, Thread.UncaughtExceptionHandler
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final InputStream
private ObjectInputStream
private ObjectOutputStream
private final OutputStream
private final Socket
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
private void
private void
private void
handleInfra
(InfraFrame req) private void
handleOutput
(OutputFrame obj) private boolean
private void
private void
void
run()
Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, isVirtual, join, join, join, join, ofPlatform, ofVirtual, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, sleep, start, startVirtualThread, stop, suspend, threadId, toString, yield
-
Field Details
-
is
-
socket
-
ois
-
os
-
oos
-
-
Constructor Details
-
Handler
- Throws:
IOException
-
-
Method Details
-
run
public void run() -
handleResultMetadata
-
handleOutput
-
handleException
-
handleResults
-
handleHandshake
- Throws:
IOException
-
handleInfra
- Throws:
IOException
-
handleOutputFormat
private boolean handleOutputFormat(OutputFormatFrame frame) throws IllegalAccessException, InvocationTargetException -
close
public void close()
-