code: @Override
  	public void onUpdateBusinessLogicTime(boolean taskOrKeyPresent, boolean externalTaskPresent, long businessLogicTime) {
  		loops.recordEvent();
  		if (taskOrKeyPresent) {
  			this.businessLogicTime.recordValue((int) businessLogicTime);
  		} else {
  			if (!externalTaskPresent) {
  				idleLoops.recordEvent();
  			} else {
  				idleLoopsWaitingExternalTask.recordEvent();
  			}
  		}
  
  		if (next != null) {
  			next.onUpdateBusinessLogicTime(taskOrKeyPresent, externalTaskPresent, businessLogicTime);
  		}
  	}
docs: region updating