minor rename in cache invalidation for wind estimation

This commit is contained in:
Axel Uhl committed 2012-06-19 10:32:56 +02:00
1 parent f2613eb77a
commit 5bc98d749c
1 file changed
+2 -2
@@ -232,7 +232,7 @@ public class TrackBasedEstimationWindTrackImpl extends VirtualWindTrackImpl impl
if (!scheduledInvalidationInterval.isSet()) {
// according to the invariant this implies [1]==null
scheduledInvalidationInterval.set(startOfInvalidation, endOfInvalidation);
startSchedulerForInvalidation();
startSchedulerForCacheRefresh();
} else {
// this means that an invalidation is already scheduled; as long as we're synchronized on scheduledInvalidationInterval
// we can safely extend the interval; the invalidation won't start before we release the lock
@@ -274,7 +274,7 @@ public class TrackBasedEstimationWindTrackImpl extends VirtualWindTrackImpl impl
}
}
private void startSchedulerForInvalidation() {
private void startSchedulerForCacheRefresh() {
synchronized (scheduledInvalidationInterval) {
if (delayForCacheInvalidationInMilliseconds == 0) {
invalidateCache();