public interface UnloadTenantTask<T>
| Modifier and Type | Method and Description |
|---|---|
void |
cleanup(int tenantId)
The method that will be called by the runtime when a tenant is unloaded.
|
void |
register(int tenantId,
T registration)
The method that will be called by an implementation when registering an item for which this
task would be run for a given tenant.
|
void register(int tenantId,
T registration)
tenantId - the tenant's identifier.registration - the object that needs unloading.void cleanup(int tenantId)
tenantId - the tenant's identifier.Copyright © 2015 WSO2 Inc. All rights reserved.