public class EtlThreadContext
extends Object
Constructor and Description |
---|
EtlThreadContext() |
Modifier and Type | Method and Description |
---|---|
Object |
getData()
Gets the data.
|
Map<String,Object> |
getEtlThreadCache()
Gets the etl thread cache.
|
String |
getFlowId()
Gets the flow id.
|
Object |
getLogAppender()
Gets the log appender.
|
String |
getRequestId()
Gets the request id.
|
boolean |
isEnableRequestIdLog()
Checks if request id log enabled.
|
void |
killEtlProcess()
Kill the ETL process.
|
boolean |
killFileExists()
Checks of kill file for the current ETL process exists.
|
void |
setData(Object data)
Sets the data.
|
void |
setEnableRequestIdLog(boolean enableRequestIdLog)
Sets the enable request id log.
|
void |
setFlowId(String flowId)
Sets the flow id.
|
void |
setLogAppender(Object logger)
Sets the log appender.
|
void |
setRequestId(String requestId)
Sets the request id.
|
public Object getData()
public Map<String,Object> getEtlThreadCache()
public void setData(Object data)
data
- the new datapublic String getRequestId()
public void setRequestId(String requestId)
requestId
- the new request idpublic boolean killFileExists()
public Object getLogAppender()
public void setLogAppender(Object logger)
logger
- the new log appenderpublic boolean isEnableRequestIdLog()
public void setEnableRequestIdLog(boolean enableRequestIdLog)
enableRequestIdLog
- the new value of the flag enable request id logpublic String getFlowId()
public void setFlowId(String flowId)
flowId
- the new flow idpublic void killEtlProcess()
Copyright © 2010-2020 Toolsverse. All Rights Reserved.