Package io.kubernetes.client
Class Exec.ExecProcess
java.lang.Object
java.lang.Process
io.kubernetes.client.Exec.ExecProcess
- Enclosing class:
- Exec
-
Constructor Summary
ConstructorsConstructorDescriptionExecProcess(io.kubernetes.client.openapi.ApiClient apiClient) ExecProcess(io.kubernetes.client.openapi.ApiClient apiClient, Consumer<Throwable> onUnhandledError) -
Method Summary
Modifier and TypeMethodDescriptionvoiddestroy()intprotected WebSocketStreamHandlerbooleanisAlive()intwaitFor()booleanMethods inherited from class java.lang.Process
children, descendants, destroyForcibly, errorReader, errorReader, info, inputReader, inputReader, onExit, outputWriter, outputWriter, pid, supportsNormalTermination, toHandle
-
Constructor Details
-
ExecProcess
- Throws:
IOException
-
ExecProcess
public ExecProcess(io.kubernetes.client.openapi.ApiClient apiClient, Consumer<Throwable> onUnhandledError) throws IOException - Throws:
IOException
-
-
Method Details
-
getHandler
-
getOutputStream
- Specified by:
getOutputStreamin classProcess
-
getInputStream
- Specified by:
getInputStreamin classProcess
-
getErrorStream
- Specified by:
getErrorStreamin classProcess
-
getConnectionErrorStream
-
getResizeStream
-
waitFor
- Specified by:
waitForin classProcess- Throws:
InterruptedException
-
waitFor
- Overrides:
waitForin classProcess- Throws:
InterruptedException
-
exitValue
public int exitValue() -
isAlive
public boolean isAlive() -
destroy
public void destroy()
-