All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cn.nukkit.InterruptibleThread Maven / Gradle / Ivy

Go to download

A Minecraft Bedrock Edition server software implementation made in Java from scratch which supports all new features.

There is a newer version: 1.6.0.1-PN
Show newest version
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 { }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy