public class DataflowWorkerLoggingMDC extends Object
| Constructor and Description |
|---|
DataflowWorkerLoggingMDC() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getJobId()
Gets the Job ID of the current thread.
|
static String |
getStageName()
Gets the Stage Name of the current thread.
|
static String |
getStepName()
Gets the Step Name of the current thread.
|
static String |
getWorkerId()
Gets the Worker ID of the current thread.
|
static String |
getWorkId()
Gets the Work ID of the current thread.
|
static void |
setJobId(String newJobId)
Sets the Job ID of the current thread, which will be inherited by child threads.
|
static void |
setStageName(String newStageName)
Sets the Stage Name of the current thread, which will be inherited by child threads.
|
static void |
setStepName(String newStepName)
Sets the Step Name of the current thread, which will be inherited by child threads.
|
static void |
setWorkerId(String newWorkerId)
Sets the Worker ID of the current thread, which will be inherited by child threads.
|
static void |
setWorkId(String newWorkId)
Sets the Work ID of the current thread, which will be inherited by child threads.
|
public static void setJobId(String newJobId)
public static void setStageName(String newStageName)
public static void setStepName(String newStepName)
public static void setWorkerId(String newWorkerId)
public static void setWorkId(String newWorkId)
public static String getJobId()
public static String getStageName()
public static String getStepName()
public static String getWorkerId()
public static String getWorkId()