com.atlassian.confluence.tenant
Interface TenantRegistry
- All Known Implementing Classes:
- BroadcastingTenantRegistry, VolatileSingleTenantRegistry
@ExperimentalApi
public interface TenantRegistry
Relies on the tenant object's identity.
- Since:
- 5.6
addTenant
boolean addTenant(com.atlassian.tenancy.api.Tenant tenant)
- Parameters:
tenant
- the tenant to add
- Returns:
- true if the tenant was added during this request, false if the registry already knew it
removeTenant
boolean removeTenant(com.atlassian.tenancy.api.Tenant tenant)
- Parameters:
tenant
- the tenant to remove
- Returns:
- true if the tenant was removed, false if the registry didn't know about it
isTenantRegistered
boolean isTenantRegistered(com.atlassian.tenancy.api.Tenant tenant)
- Parameters:
tenant
- the tenant to test for being registered
- Returns:
- true if the tenant is currently registered
isRegistryVacant
boolean isRegistryVacant()
- Returns:
- true if the registry currently has no tenants
Copyright © 2003–2015 Atlassian. All rights reserved.