Package com.zfabrik.work
Class WorkManager
java.lang.Object
com.zfabrik.work.WorkManager
The work manager manages the system's concurrency.
- Author:
- hb
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract IThreadPool
provide a logical thread pool by id.static WorkManager
get()
static WorkManager
query()
abstract void
releases a named threadpool.
-
Field Details
-
instance
-
-
Constructor Details
-
WorkManager
public WorkManager()
-
-
Method Details
-
get
-
query
-
createThreadPool
provide a logical thread pool by id. Will throw an exception if a thread pool by the same id has been created previously but released.- Parameters:
id
-
-
releaseThreadPool
releases a named threadpool. Will throw an exception if the named threadpool does not exist or is still busy
-