PocketMine-MP 5.23.3 git-976fc63567edab7a6fb6aeae739f43cf9fe57de4
Loading...
Searching...
No Matches
pocketmine\scheduler\AsyncWorker Class Reference
+ Inheritance diagram for pocketmine\scheduler\AsyncWorker:
+ Collaboration diagram for pocketmine\scheduler\AsyncWorker:

Public Member Functions

 __construct (private ThreadSafeLogger $logger, private int $id, private int $memoryLimit, private SleeperHandlerEntry $sleeperEntry)
 
 getAsyncWorkerId ()
 
 getLogger ()
 
 getThreadName ()
 

Static Public Member Functions

static getNotifier ()
 
static maybeCollectCycles ()
 

Protected Member Functions

 onRun ()
 

Detailed Description

Definition at line 35 of file AsyncWorker.php.

Constructor & Destructor Documentation

◆ __construct()

pocketmine\scheduler\AsyncWorker::__construct ( private ThreadSafeLogger $logger,
private int $id,
private int $memoryLimit,
private SleeperHandlerEntry $sleeperEntry )

Definition at line 39 of file AsyncWorker.php.

Member Function Documentation

◆ getAsyncWorkerId()

pocketmine\scheduler\AsyncWorker::getAsyncWorkerId ( )

Definition at line 84 of file AsyncWorker.php.

◆ getLogger()

pocketmine\scheduler\AsyncWorker::getLogger ( )

Definition at line 76 of file AsyncWorker.php.

◆ getNotifier()

static pocketmine\scheduler\AsyncWorker::getNotifier ( )
static

Definition at line 46 of file AsyncWorker.php.

◆ getThreadName()

pocketmine\scheduler\AsyncWorker::getThreadName ( )

Definition at line 80 of file AsyncWorker.php.

◆ maybeCollectCycles()

static pocketmine\scheduler\AsyncWorker::maybeCollectCycles ( )
static

Definition at line 53 of file AsyncWorker.php.

◆ onRun()

pocketmine\scheduler\AsyncWorker::onRun ( )
protected

Definition at line 60 of file AsyncWorker.php.


The documentation for this class was generated from the following file: