@Override
      public Priority getPriority() {
        return priority;
      }
Helper method to get {@link RunnableWithPriority} implementation for a given Runnable with the given priority.

@param runnable Runnable to be wrapped and executed.
@param priority Associated priority for the runnable.
@return a wrapper {@link RunnableWithPriority} object.
app/com/linkedin/drelephant/priorityexecutor/RunnableWithPriority.java