GlueGen: com.jogamp.common.util.WorkerThread.StateCallback Interface Reference

GlueGen v2.6.0-rc-20250822 GlueGen, Native Binding Generator for Java™ (public API).

Classes | Public Member Functions | List of all members
com.jogamp.common.util.WorkerThread.StateCallback Interface Reference

An interruptible `State` `task` on the `WorkerThread` `thread`. More...

Inheritance diagram for com.jogamp.common.util.WorkerThread.StateCallback:
Collaboration diagram for com.jogamp.common.util.WorkerThread.StateCallback:

## Classes

enum | State
| State change cause. More...

## Public Member Functions

void | run (WorkerThread self, State cause) throws InterruptedException
| Task to be executed on `State` change on the `WorkerThread` `thread`. More...

## Detailed Description

An interruptible `State` `task` on the `WorkerThread` `thread`.

Definition at line 71 of file WorkerThread.java.

## Member Function Documentation

## ◆ run()

void com.jogamp.common.util.WorkerThread.StateCallback.run | ( | WorkerThread | self,
|  | State | cause
| ) |  | throws InterruptedException

Task to be executed on `State` change on the `WorkerThread` `thread`.

Parameters

  self | The `WorkerThread` manager
  cause | the `State` change cause

Exceptions

  InterruptedException |

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

- src/java/com/jogamp/common/util/WorkerThread.java