Instantly share code, notes, and snippets.

What would you like to do?
* do some task at high priority
public void doSomeTaskAtHighPriority(){
.submit(new PriorityRunnable(Priority.HIGH) {
public void run() {
// do some background work here at high priority.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment