update docs
This commit is contained in:
1 parent
d3211c6702
commit
389af563b9
11 files changed
+181
-69
No files matched your search
+4
-4
@@ -1,6 +1,6 @@
|
||||
# Threading & Scheduling
|
||||
|
||||
**Package:** `me.bobert.netneutrality.platform.concurrency`
|
||||
**Packages:** `me.bobert.netneutrality.core.thread` and `me.bobert.netneutrality.core.scheduled`
|
||||
|
||||
This subsystem centralizes asynchronous execution and recurring jobs.
|
||||
|
||||
@@ -21,11 +21,11 @@ This subsystem centralizes asynchronous execution and recurring jobs.
|
||||
|
||||
## `BaseThreadFactory`
|
||||
|
||||
Names created threads (e.g. `web-api-1`) so they are identifiable in logs and stack dumps, and installs
|
||||
Names created threads (e.g. `pool-1`) so they are identifiable in logs and stack dumps, and installs
|
||||
an [`ExecutorException`](utilities-and-bootstrap.md#exceptions) as the thread's
|
||||
`UncaughtExceptionHandler` so crashes on worker threads are still routed through
|
||||
[`LogHandler`](utilities-and-bootstrap.md#loghandler). It is used both by `ThreadManager` and by the
|
||||
[Web API](web-api.md) server pool.
|
||||
[`LogHandler`](utilities-and-bootstrap.md#loghandler). It is used by `ThreadManager`; the
|
||||
[Web API](web-api.md) runs on Javalin's own thread pool instead.
|
||||
|
||||
## `ScheduledTaskManager`
|
||||
|
||||
|
||||
Reference in new issue
Block a user