if (logger != null && logger.isDebugEnabled()) { logger.debug( "Alarm to trigger at " + (new Date(expirationTime))); }
System.out.println("Alarm expire method called " + new Date(currentTimeMillis()));
    public synchronized void expire() {      if (!expired) {        expired = true;        BlackboardService bb = getBlackboardService();        if (bb != null) {          if (logger != null && logger.isDebugEnabled()) {            logger.debug(                "Alarm to trigger at " + (new Date(expirationTime)));          }          bb.signalClientActivity();        } else {          if (logger != null && logger.isWarnEnabled()) {            logger.warn(                "Alarm to trigger at " + (new Date(expirationTime)) + " has expired," +                " but the blackboard service is null.  Plugin " +                " model state is " + getModelState());          }        }      }    }