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 TypeMethodDescriptionvoid
destroy()
int
protected WebSocketStreamHandler
boolean
isAlive()
int
waitFor()
boolean
Methods 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:
getOutputStream
in classProcess
-
getInputStream
- Specified by:
getInputStream
in classProcess
-
getErrorStream
- Specified by:
getErrorStream
in classProcess
-
getConnectionErrorStream
-
getResizeStream
-
waitFor
- Specified by:
waitFor
in classProcess
- Throws:
InterruptedException
-
waitFor
- Overrides:
waitFor
in classProcess
- Throws:
InterruptedException
-
exitValue
public int exitValue() -
isAlive
public boolean isAlive() -
destroy
public void destroy()
-