public class WorkerLogger
extends java.lang.Thread
Constructor and Description |
---|
WorkerLogger(java.lang.String namespace,
java.lang.String podName,
java.lang.String containerName,
java.lang.String id,
java.lang.String logsDir,
CoreV1Api coreV1Api,
JobLogger jobLogger) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
java.lang.String |
getID() |
int |
hashCode() |
void |
run() |
void |
stopLogging() |
java.io.InputStream |
streamContainerLog() |
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
public WorkerLogger(java.lang.String namespace, java.lang.String podName, java.lang.String containerName, java.lang.String id, java.lang.String logsDir, CoreV1Api coreV1Api, JobLogger jobLogger)
public java.lang.String getID()
public void run()
run
in interface java.lang.Runnable
run
in class java.lang.Thread
public java.io.InputStream streamContainerLog() throws ApiException, java.io.IOException
ApiException
java.io.IOException
public void stopLogging()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object