TaskQueue in Java.