public class MXCorrelator extends java.lang.Object implements FixedLoggers
| Modifier and Type | Field and Description | 
|---|---|
| static boolean | correlationEnabledThe flag to indicate if the correlation is enabled by the log appender. | 
| static java.lang.String | CORRPROPERTYThe property to indicate if correlation will be enabled. | 
| static java.util.concurrent.atomic.AtomicLong | sequenceThe static variable that contribute the number in the correlation id. | 
APPLOGGER, CRONTASKLOGGER, CRONTASKMGRLOGGER, CRONTASKMGRSQLLOGGER, DBCONNECTIONLOGGER, DDLOGGER, DMLOGGER, EVENTLOGGER, EXCEPTIONLOGGER, MAILLOGGER, MAXIMOLOGGER, MTLOGGER, NULLMBOPOINTER, SECURITY, SENDFAILEDLOGGER, SERVICELOGGER, SQLLOGGERappenderPrefix, LOGGERNAME_APP, LOGGERNAME_CRONTASK, LOGGERNAME_CRONTASKMGR, LOGGERNAME_DBCONNECTION, LOGGERNAME_DD, LOGGERNAME_DM, LOGGERNAME_DMPREVIEW, LOGGERNAME_EVENT, LOGGERNAME_EXCEPTION, LOGGERNAME_MAIL, LOGGERNAME_MAXIMO, LOGGERNAME_MT, LOGGERNAME_NULLMBOPOINTER, LOGGERNAME_SECURITY, LOGGERNAME_SENDFAILED, LOGGERNAME_SERVICE, LOGGERNAME_SQL, LOGGERNAME_SQL_CRONTASKMGR, LOGGERNAME_TXN, loggerPrefix| Modifier and Type | Method and Description | 
|---|---|
| void | addCorrelationData(java.lang.String label,
                  java.lang.String dataItem)Add attribute to the correlation. | 
| static void | enableCorrelation(boolean state)Enable the correlation from the logger pattern perspective. | 
| static void | endCorrelation()End correlation. | 
| static long | genUUID()Get the squence number for the correlation id. | 
| java.lang.String | getCombinedId()Get the correlation id. | 
| static MXCorrelator | getCorrelator() | 
| static java.lang.String | getId()Get the correlation id. | 
| java.lang.String | getPrefix()Get the previx of the correlation id. | 
| static boolean | isCorrelatorEnabled()Check whether correlation is enabled. | 
| static MXCorrelator | startCorrelation(java.lang.String prefix)Start a correlation. | 
| void | stopCorrelation()Stop a correlation. | 
public static boolean correlationEnabled
public static final java.lang.String CORRPROPERTY
public static java.util.concurrent.atomic.AtomicLong sequence
public static MXCorrelator getCorrelator()
public static MXCorrelator startCorrelation(java.lang.String prefix)
prefix - public static void endCorrelation()
public void stopCorrelation()
public java.lang.String getPrefix()
public static long genUUID()
public void addCorrelationData(java.lang.String label,
                      java.lang.String dataItem)
label - dataItem - public static boolean isCorrelatorEnabled()
public static void enableCorrelation(boolean state)
state - public java.lang.String getCombinedId()
public static java.lang.String getId()