Class MediationConfigReporterThread
java.lang.Object
java.lang.Thread
org.wso2.carbon.das.messageflow.data.publisher.services.MediationConfigReporterThread
- All Implemented Interfaces:
Runnable,TenantInformation
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Thread
Thread.Builder, Thread.State, Thread.UncaughtExceptionHandler -
Field Summary
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY -
Constructor Summary
ConstructorsConstructorDescriptionMediationConfigReporterThread(org.wso2.carbon.mediation.initializer.services.SynapseEnvironmentService synEnvSvc) -
Method Summary
Modifier and TypeMethodDescriptionintGet 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, isVirtual, join, join, join, join, ofPlatform, ofVirtual, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, sleep, start, startVirtualThread, stop, suspend, threadId, toString, yield
-
Constructor Details
-
MediationConfigReporterThread
public MediationConfigReporterThread(org.wso2.carbon.mediation.initializer.services.SynapseEnvironmentService synEnvSvc)
-
-
Method Details
-
run
public void run() -
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)
-