code: public boolean updateLevelPriority()
      {
          Priority newPriority = taskHandle.getPriority();
          Priority oldPriority = priority.getAndSet(newPriority);
          return newPriority.getLevel() != oldPriority.getLevel();
      }
docs: Updates the (potentially stale) priority value cached in this object.
  This should be called when this object is outside the queue.
  
  @return true if the level changed.