Marks this thread as either a daemon thread or a user thread.
每一个线程都被标记为“守护线程”或“用户线程”。
All threads in a component-scoped thread pool are asynchronous bean daemon threads and have the same lifecycle of the application that created it.
组件范围的线程池中的所有线程都是异步bean守护程序线程,并且具有与创建它的应用程序相同的生命周期。
When using custom component-scoped thread pools (Figure 3), each worker thread in the pool is initialized with a daemon thread created by the WorkManager.
在使用自定义组件范围的线程池(图3)时,将使用WorkManager创建的守护程序线程初始化池中的每个工作线程。
Note that Timer creates a non-daemon thread to fire the tasks in the background, however, so in Listing 10 I have to kill the VM via a call to System.exit().
请注意Timer却创建了一个非守护线程在后台启动任务,因此在清单10 中我需要调用 System.exit() 来取消任务。
In a long-running program, the Timer is probably best created as a daemon thread (using the constructors that take a Boolean parameter to indicate daemon status), so it won't keep the VM alive.
在长时间运行的程序中,最好创建一个Timer守护线程(使用带有指示守护线程状态的参数的构造函数),从而它不会让VM活动。
The PresentationReconciler class updates the text's appearance with every keystroke, and the Reconciler class runs in a daemon thread, parsing the document without holding up the user interface (UI).
presentationreconciler类根据每次击键更新文本的外观,而Reconciler类运行一个守护线程,不必将用户界面(UI)挂起就能解析该文档。
If the application ends, the release method of each daemon Work thread in the pool will be called.
如果应用程序结束,将调用池中每个守护程序工作线程的release方法。
Then, when the client thread tries to process data within the NFS mounted file system, the data is redirected to biod, which takes the data through the LAN to the NFS server and its NFSD daemon.
然后当客户端线程试图处理nfs挂载文件系统内的数据,数据被重定向到biod, biod通过LAN将数据带到nfs服务器及其nfsd守护进程。
Then, when the client thread tries to process data within the NFS mounted file system, the data is redirected to biod, which takes the data through the LAN to the NFS Server and its NFSD daemon.
然后,当客户端线程尝试处理nfs挂载的文件系统中的数据时,将这些数据重定向到biod,后者会通过LAN将数据传递到nfs服务器及其nfsd守护进程。
Changes the daemon status of this thread group.
改变该线程组的守护状态。
Changes the daemon status of this thread group.
改变该线程组的守护状态。
应用推荐