logger.debug(format("Next Reaction: %s.", reactionName));
/* wait until the next reaction has to run. */
logger.debug(format("Next Reaction: %s.", reactionName));
/* wait until the next reaction has to run. */
long waitTime = nextReaction.get().getNextTime() - System.currentTimeMillis();
logger.debug(format("Time to wait for next Reaction: %d millseconds.", waitTime));
if (waitTime > 0) {
long waitTime = nextReaction.get().getNextTime() - System.currentTimeMillis();
logger.debug(format("Time to wait for next Reaction: %d millseconds.", waitTime));
if (waitTime > 0) {