Package gov.nasa.arc.mct.buffer.util

Examples of gov.nasa.arc.mct.buffer.util.ElapsedTimer.stopInterval()


                    returnedData.put(feedID, feedData);
                }
            }
        }
       
        timer.stopInterval();
        READ_PERF_LOGGER.debug("Time to get {} feeds from memory: {} from partition " + this.env.getCurrentBufferPartition(), feedIDs.size(), timer.getIntervalInMillis());

        return returnedData;
    }
View Full Code Here


            }
            timestamps.put(feedID, new PartitionTimestamps(smallestTime, largestTime));
        }
       
       
        timer.stopInterval();
        WRITE_PERF_LOGGER.debug("Time to write {} feeds: {} from partition " + this.env.getCurrentBufferPartition(), value.size(), timer.getIntervalInMillis());

        return timestamps;
    }
   
View Full Code Here

            }
            metadata.updatePartitionMetaData(metadataIndex, feedID, smallestTime, largestTime);
        }
       
       
        timer.stopInterval();
        if (WRITE_PERF_LOGGER.isDebugEnabled()) {
            WRITE_PERF_LOGGER.debug("Time to write {} feeds: {} from partition " + this.env.getCurrentBufferPartition(), value.size(), timer.getIntervalInMillis());
   
        }
    }
View Full Code Here

            for (Entry<String, SortedMap<Long, Map<String, String>>> entry: obtainedValues.entrySet()) {
                returnedData.put(entry.getKey(), new LinkedList<Map<String,String>>(entry.getValue().values()));
            }
            filterObtainedFeeds(dataRetrieval, feedIDs, obtainedValues, timeUnit, startTime);
           
            timer.stopInterval();
            READ_PERF_LOGGER.debug("Time to get {} feeds: {} ms from provider " + dataRetrieval.getLOS(), feedSize, timer.getIntervalInMillis());

            if (feedIDs.isEmpty()) { break; }
        }
        return returnedData;
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.