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 intgetTenantId()Get the tenant id for the observervoidrun()voidsetPublishingAnalyticESB(boolean publishingAnalyticESB)voidsetTenantId(int i)Set the tenantId for the observervoidshutdown()-
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:TenantInformationGet the tenant id for the observer- Specified by:
getTenantIdin interfaceTenantInformation- Returns:
- tenantId
-
setTenantId
public void setTenantId(int i)
Description copied from interface:TenantInformationSet the tenantId for the observer- Specified by:
setTenantIdin interfaceTenantInformation- Parameters:
i- tenantId of the observer
-
setPublishingAnalyticESB
public void setPublishingAnalyticESB(boolean publishingAnalyticESB)
-
-