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 InputStreamprivate ObjectInputStreamprivate ObjectOutputStreamprivate final OutputStreamprivate final SocketFields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()private voidprivate voidprivate voidhandleInfra(InfraFrame req) private voidhandleOutput(OutputFrame obj) private booleanprivate voidprivate voidvoidrun()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()
-