Package cn.nukkit

Interface InterruptibleThread

All Known Implementing Classes:
AsyncWorker

public interface InterruptibleThread
描述一个可以被中断的线程的接口。
An interface to describe a thread that can be interrupted.

在Nukkit服务器停止时,Nukkit会找到所有实现了InterruptibleThread的线程,并逐一中断。
When a Nukkit server is stopping, Nukkit finds all threads implements InterruptibleThread, and interrupt them one by one.

Since:
Nukkit 1.0 | Nukkit API 1.0.0
Author:
MagicDroidX(code) @ Nukkit Project, 粉鞋大妈(javadoc) @ Nukkit Project
See Also: