RuneHive-Tarnish
Neural OSRS Enhancement Framework
Loading...
Searching...
No Matches
com.osroyale.game.service.StartupService Class Reference

Public Member Functions

void waitForPendingTasks () throws ExecutionException
int getPendingTaskAmount ()

Detailed Description

An ExecutorService that waits for all its events to finish executing.

Author
Graham Edgecombe

Definition at line 47 of file StartupService.java.

Member Function Documentation

◆ getPendingTaskAmount()

int com.osroyale.game.service.StartupService.getPendingTaskAmount ( )
inline

Gets the number of pending tasks.

Returns
The number of pending tasks.

Definition at line 87 of file StartupService.java.

◆ waitForPendingTasks()

void com.osroyale.game.service.StartupService.waitForPendingTasks ( ) throws ExecutionException
inline

Waits for pending tasks to complete.

Exceptions
ExecutionExceptionif an error in a task occurred.

Definition at line 61 of file StartupService.java.


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