{
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() )
{
repairer.fix();
}
else
{
bad();
}