// same RmicCacheManager instance are in error. So we fix them once and for all.
for ( Iterator itr2 = mgr.caches.values().iterator(); itr2.hasNext(); )
{
if ( itr2.hasNext() )
{
RemoteCacheNoWait c = ( RemoteCacheNoWait ) itr2.next();
//RemoteCacheNoWait c = (RemoteCacheNoWait)mgr.cache;
if ( c.getStatus() == CacheConstants.STATUS_ERROR )
{
RemoteCacheClusterRestore repairer = new RemoteCacheClusterRestore( mgr );
// If we can't fix them, just skip and re-try in the next round.
if ( repairer.canFix() )
{