Lines Matching defs:nextUpdate
98 private Date nextUpdate = null;
370 * Sets the nextUpdate interval. Intervals will be calculated relative
371 * to the server startup time. When first set, the nextUpdate date is
380 * calculate nextUpdate times. A value less than or equal to 0 will
381 * disable the nextUpdate feature.
387 nextUpdate = null;
391 nextUpdate = new Date(System.currentTimeMillis() +
393 log("nextUpdate set to " + nextUpdate);
399 * Return the nextUpdate {@code Date} object for this server. If the
400 * nextUpdate date has already passed, set a new nextUpdate based on
401 * the nextUpdate interval and return that date.
403 * @return a {@code Date} object set to the nextUpdate field for OCSP
407 if (nextUpdate != null && nextUpdate.before(new Date())) {
408 long nuEpochTime = nextUpdate.getTime();
411 // Keep adding nextUpdate intervals until you reach a date
417 // Set the nextUpdate for future threads
418 nextUpdate = new Date(nuEpochTime);
419 log("nextUpdate updated to new value: " + nextUpdate);
421 return nextUpdate;