Package app.ductape.sdk.core.concurrency
Class DuctapeThreadFactory
java.lang.Object
app.ductape.sdk.core.concurrency.DuctapeThreadFactory
Sprint 8 production hardening: a single source of truth for SDK-owned thread naming.
Use daemon(String) for background loops (monitor, brokers, queue pollers) so the
JVM can shut down even if a caller forgets to invoke stopMonitor/disconnect.
Use userThread(String) for executors whose lifecycle is bounded by a short-lived
computation (e.g. transaction timeouts).
-
Method Summary
Modifier and TypeMethodDescriptionstatic ThreadFactorystatic ThreadFactoryuserThread(String prefix)
-
Method Details
-
daemon
-
userThread
-