public class TenantLifecycleManager extends Object
Constructor and Description |
---|
TenantLifecycleManager(Map<String,?> configs) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
createAdminClient(String endpoint) |
Set<String> |
deletedClusters()
Return all logical clusters that were deleted or being deleted
Used for testing
|
void |
deleteTenants() |
Set<String> |
fullyDeletedClusters()
Return all logical clusters that are considered deleted and we won't try to delete again
Used for testing
|
Set<String> |
inactiveClusters()
Return all logical clusters that are deactivated
|
boolean |
updateMaxPartitionsIfNecessary(LogicalClusterMetadata oldMeta,
LogicalClusterMetadata newMeta) |
void |
updateTenantState(LogicalClusterMetadata lcMeta) |
public void createAdminClient(String endpoint)
public void updateTenantState(LogicalClusterMetadata lcMeta)
public Set<String> inactiveClusters()
public Set<String> fullyDeletedClusters()
public Set<String> deletedClusters()
public void deleteTenants()
public void close()
public boolean updateMaxPartitionsIfNecessary(LogicalClusterMetadata oldMeta, LogicalClusterMetadata newMeta)