- cleaning up flow registry
- keep stats scheduler alive even if connection is not in state WORKING
Change-Id: If1f03b224f497653769fc2cca815afdc9029df95
Signed-off-by: Michal Rehak <mirehak@cisco.com>
LOG.trace("Reading of table features for table wit ID {} encountered execution exception {}.", i, e);
}
}
LOG.trace("Reading of table features for table wit ID {} encountered execution exception {}.", i, e);
}
}
+ deviceContext.getDeviceFlowRegistry().removeMarked();
timeCounter.addTimeMark();
LOG.info("Statistics gathering for single node was not successful: {}", throwable.getMessage());
LOG.debug("Statistics gathering for single node was not successful.. ", throwable);
timeCounter.addTimeMark();
LOG.info("Statistics gathering for single node was not successful: {}", throwable.getMessage());
LOG.debug("Statistics gathering for single node was not successful.. ", throwable);
- if (ConnectionContext.CONNECTION_STATE.WORKING.equals(deviceContext.getPrimaryConnectionContext().getConnectionState())) {
- calculateTimerDelay(timeCounter);
- scheduleNextPolling(deviceContext, statisticsContext, timeCounter);
- }
+ calculateTimerDelay(timeCounter);
+ scheduleNextPolling(deviceContext, statisticsContext, timeCounter);