Quick question regarding thread pools, Do java plugins run its own thread pool?
They run in whatever thread pool calls them. If you make a new score
function or a new aggregation most methods are called in the search thread
pool. If you write a native update script it is called in the update thread
pool. If you make a new action then you have complete control.