// one
if (activeRenderers.get() < MAX_ACTIVE_REQUESTS && activeSyncControl.get() == null) {
Map<TimeService,Long> currentTimes = new HashMap<TimeService,Long>();
Map<FeedProvider,Long[]> times = new TreeMap<FeedProvider,Long[]>(FEED_COMPARATOR);
for (Entry<FeedProvider,Long> lastTimeMapping:activeFeeds.entrySet()) {
FeedProvider feed = lastTimeMapping.getKey();
long lastRequestTime = lastTimeMapping.getValue();
// ensure that all values coming from the same time service reflect the same time
Long cachedTime = currentTimes.get(feed.getTimeService());
if (cachedTime == null) {
cachedTime = feed.getTimeService().getCurrentTime();
currentTimes.put(feed.getTimeService(), cachedTime);
}
long currentTime = cachedTime;
Long[] timeRange = new Long[] {lastRequestTime, currentTime};
if (timeRange[0] < timeRange[1]) {
timeRange[0]++;