Add test.
Correct javadoc.
Refactoring: Convert anonymous inner class to top-level/nested class.
Implement parallel none.
Tune the queue size for parallel query on large number of elements.