Class PriorityExecutor

This is the class used for executing the tasks with a given priority. It is backed by a
BlockingQueue and a ThreadPoolExecutor. The BlockingQueue is a custom implementation which
has multiple internal queues for handling separate priorities.

getName

setBeforeExecuteHandler

Set a handler for execute before putting a worker in to the queues.
User can set some properties to the worker at this point. This
allows users to get more control over the queue selection algorithm.
This is an optional configuration.