Examples of stopInterval()


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

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

            }
            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

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

            }
            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

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

            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

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

                    childNodeView.addPropertyChangeListener(VIEW_STALE_PROPERTY, objectStaleListener);
                }
            }
            treeModel.reload(selectedNode);
           
            timer.stopInterval();
            PERF_LOGGER.debug("Time to expand node {}: {}", component.getId(), timer.getIntervalInMillis());
        }
    }     
}
View Full Code Here

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

    categoryTimer.startInterval();
    for (Policy policy : list) {
      ElapsedTimer policyTimer = new ElapsedTimer();
      policyTimer.startInterval();
      result = policy.execute(context);
      policyTimer.stopInterval();
      PERF_LOGGER.debug("time to execute policy {0} {1}", policy.getClass().getName(), policyTimer.getIntervalInMillis());
      if (!result.getStatus()) {
        LOGGER.debug("Policy category {} failed on policy {}", categoryKey, policy.getClass().getName());
        return result;
      }
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.