watch() — netty Function Reference
Architecture documentation for the watch() function in ThreadDeathWatcher.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD d0ccf1bb_8ca7_fdeb_a3d1_eecc0fd357d4["watch()"] a874767f_1376_f502_6409_38219e3d70ef["ThreadDeathWatcher"] d0ccf1bb_8ca7_fdeb_a3d1_eecc0fd357d4 -->|defined in| a874767f_1376_f502_6409_38219e3d70ef 2e12d8f3_2a76_c115_2e1f_27af3c853d54["run()"] 2e12d8f3_2a76_c115_2e1f_27af3c853d54 -->|calls| d0ccf1bb_8ca7_fdeb_a3d1_eecc0fd357d4 52d983df_3c33_cc34_17dc_62af3798f3ef["schedule()"] d0ccf1bb_8ca7_fdeb_a3d1_eecc0fd357d4 -->|calls| 52d983df_3c33_cc34_17dc_62af3798f3ef style d0ccf1bb_8ca7_fdeb_a3d1_eecc0fd357d4 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
common/src/main/java/io/netty/util/ThreadDeathWatcher.java lines 80–89
public static void watch(Thread thread, Runnable task) {
ObjectUtil.checkNotNull(thread, "thread");
ObjectUtil.checkNotNull(task, "task");
if (!thread.isAlive()) {
throw new IllegalArgumentException("thread must be alive.");
}
schedule(thread, task, true);
}
Domain
Subdomains
Calls
Called By
Source
Frequently Asked Questions
What does watch() do?
watch() is a function in the netty codebase, defined in common/src/main/java/io/netty/util/ThreadDeathWatcher.java.
Where is watch() defined?
watch() is defined in common/src/main/java/io/netty/util/ThreadDeathWatcher.java at line 80.
What does watch() call?
watch() calls 1 function(s): schedule.
What calls watch()?
watch() is called by 1 function(s): run.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free