Lines Matching refs:refreshStore
36 private final ConcurrentHashMap<SessionMonitorType, SessionMonitoringTimingStore> refreshStore;
60 this.refreshStore = new ConcurrentHashMap<SessionMonitorType, SessionMonitoringTimingStore>();
71 * @param refreshStore Refresh store
78 ConcurrentHashMap<SessionMonitorType, SessionMonitoringTimingStore> refreshStore,
85 this.refreshStore = refreshStore;
92 * Stores an entry in the refreshStore, offloading the work to another thread.
101 if (!refreshStore.containsKey(type)) {
102 refreshStore.putIfAbsent(type,
106 refreshStore.get(type).addTimingEntry(duration);
112 * Gets the average value of entries in the refreshStore.
118 if (refreshStore.get(type) == null) {
122 return refreshStore.get(type).getDurationAverage();