cn.nukkit.InterruptibleThread Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of powernukkit Show documentation
Show all versions of powernukkit Show documentation
A Minecraft Bedrock Edition server software implementation made in Java from scratch which supports all new features.
package cn.nukkit;
/**
* 描述一个可以被中断的线程的接口。
* An interface to describe a thread that can be interrupted.
*
* 在Nukkit服务器停止时,Nukkit会找到所有实现了{@code InterruptibleThread}的线程,并逐一中断。
* When a Nukkit server is stopping, Nukkit finds all threads implements {@code InterruptibleThread},
* and interrupt them one by one.
*
* @author MagicDroidX(code) @ Nukkit Project
* @author 粉鞋大妈(javadoc) @ Nukkit Project
* @see cn.nukkit.scheduler.AsyncWorker
* @since Nukkit 1.0 | Nukkit API 1.0.0
*/
public interface InterruptibleThread {
}