if (log.isDebugEnabled()) {
log.debug("sent cluster command to to get Active tenants on cluster");
}
for (ClusteringCommand command : list) {
if (command instanceof GetActiveTenantsInMemberResponse) {
GetActiveTenantsInMemberResponse response = (GetActiveTenantsInMemberResponse) command;
for (TenantDataBean tenant : response.getTenants()) {
tenants.add(tenant);
}
}
}