+ while (!shouldStop()) {
+ synchronized (sone) {
+ if (sone.getModificationCounter() > 0) {
+ sone.setModificationCounter(0);
+ }
+ }
+ logger.log(Level.FINEST, "Waiting 60 seconds before checking Sone “" + sone.getName() + "” again.");
+ sleep(60 * 1000);
+ }