method to register a task that will be executed when a tenant is unloaded . concode_field_sep String CARBON_AUTHENTICATION_UTIL_CLASS concode_elem_sep Map<Integer,ArrayList<WeakReference<CarbonContextHolderBase>>> contextHolderList concode_elem_sep int tenantId concode_elem_sep AtomicReference<DiscoveryService> discoveryServiceProvider concode_elem_sep ThreadLocal<Stack<CarbonContextHolderBase>> parentContextHolderBaseStack concode_elem_sep String tenantDomain concode_elem_sep int CARBON_AUTHENTICATION_HANDLER_INDEX concode_elem_sep String CARBON_AUTHENTICATION_HANDLER_CLASS concode_elem_sep List<UnloadTenantTask> unloadTenantTasks concode_elem_sep int CARBON_AUTHENTICATION_UTIL_INDEX concode_elem_sep Log log concode_elem_sep ThreadLocal<CarbonContextHolderBase> currentContextHolderBase concode_elem_sep Map<String,Object> properties concode_elem_sep String username concode_field_sep Object getProperty concode_elem_sep void setUsername concode_elem_sep void restore concode_elem_sep void cleanupProperties concode_elem_sep DiscoveryService getDiscoveryServiceProvider concode_elem_sep void setDiscoveryServiceProvider concode_elem_sep void destroyCurrentCarbonContextHolder concode_elem_sep int getTenantId concode_elem_sep void setTenantDomain concode_elem_sep String getUsername concode_elem_sep void unloadTenant concode_elem_sep String getTenantDomain concode_elem_sep void cleanup concode_elem_sep boolean isAllowedToChangeTenantDomain concode_elem_sep void setTenantId concode_elem_sep void setProperty concode_elem_sep void startTenantFlow concode_elem_sep CarbonContextHolderBase initialValue concode_elem_sep Stack<CarbonContextHolderBase> initialValue concode_elem_sep CarbonContextHolderBase getCurrentCarbonContextHolderBase concode_elem_sep void endTenantFlow concode_elem_sep void register
void function ( UnloadTenantTask arg0 ) { if ( log . isDebugEnabled ( ) ) { log . debug ( "srini_string" + arg0 . getClass ( ) . getName ( ) + "srini_string" + "srini_string" ) ; } unloadTenantTasks . add ( arg0 ) ; }