code: private void setUpdateTimer(final String subscriptionId, final String serviceContextId, long ms) {
      Date timeToRun = new Date(System.currentTimeMillis() + ms);
      sendUpdatetimer.schedule(new TimerTask() {
        public void run() {
          try {
            updateCharging(subscriptionId, serviceContextId, partialCallDurationCounter);
          }
          catch (Exception e) {
            logger.error("(( $ )) Failure trying to create/send CCR (UPDATE) message. (( $ ))", e);
          }
        }
      }, timeToRun);
    }
docs: Timers -------------------------------------------------------------------