Package org.localify.common
Class WorkPool
java.lang.Object
org.localify.common.WorkPool
A thread pool for executing background tasks.
-
Method Summary
-
Method Details
-
execute
Executes a task in the thread pool.- Parameters:
runnable- The task to execute.
-
getPool
Gets the singleton instance of the work pool.- Returns:
- The work pool.
-