code: public final synchronized void setPriority(byte priority) {
  		if (this.priority == priority) return;
  		if (status == STATUS_STARTED_READY) {
  			if (manager.remove(this)) {
  				this.priority = priority;
  				while (manager.getTransferTarget() != null)
  					manager = manager.getTransferTarget();
  				manager.addReady(this);
  				return;
  			}
  		}
  		this.priority = priority;
  	}
docs: Change the priority of this task.