private void poolFlushGainControlMessageArrived(PoolFlushGainControlMessage msg) { if (LOG_ENABLED) { _log.info("PoolFlushGainControlMessage : " + msg); } String poolName = msg.getPoolName(); synchronized (_poolCollector) { HFCPool pool = _poolCollector.getPoolByName(poolName); if (pool == null) { _log.warn( "PoolFlushGainControlMessage : message arrived for non configured pool : " + poolName); return; } updateFlushCellAndFlushInfos(msg, pool); _eventDispatcher.poolFlushInfoUpdated(pool); } }
private void poolFlushGainControlMessageDidntArrive(String poolName) { if (LOG_ENABLED) { _log.info("poolFlushGainControlMessageDidntArrive : " + poolName); } synchronized (_poolCollector) { HFCPool pool = _poolCollector.getPoolByName(poolName); if (pool == null) { _log.warn( "PoolFlushGainControlMessage : message arrived for non configured pool : " + poolName); return; } pool.isActive = false; pool.lastUpdated = System.currentTimeMillis(); pool.answerCount++; _eventDispatcher.poolFlushInfoUpdated(pool); } }