Class MediationConfigReporterThread
- java.lang.Object
-
- java.lang.Thread
-
- org.wso2.carbon.das.messageflow.data.publisher.services.MediationConfigReporterThread
-
- All Implemented Interfaces:
Runnable
,TenantInformation
public class MediationConfigReporterThread extends Thread implements TenantInformation
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
-
-
Field Summary
-
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
-
-
Constructor Summary
Constructors Constructor Description MediationConfigReporterThread(org.wso2.carbon.mediation.initializer.services.SynapseEnvironmentService synEnvSvc)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getTenantId()
Get the tenant id for the observervoid
run()
void
setPublishingAnalyticESB(boolean publishingAnalyticESB)
void
setTenantId(int i)
Set the tenantId for the observervoid
shutdown()
-
Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, suspend, toString, yield
-
-
-
-
Method Detail
-
shutdown
public void shutdown()
-
getTenantId
public int getTenantId()
Description copied from interface:TenantInformation
Get the tenant id for the observer- Specified by:
getTenantId
in interfaceTenantInformation
- Returns:
- tenantId
-
setTenantId
public void setTenantId(int i)
Description copied from interface:TenantInformation
Set the tenantId for the observer- Specified by:
setTenantId
in interfaceTenantInformation
- Parameters:
i
- tenantId of the observer
-
setPublishingAnalyticESB
public void setPublishingAnalyticESB(boolean publishingAnalyticESB)
-
-