GlueGen: com.jogamp.common.util.RunnableExecutor Interface Reference

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

Classes | Public Member Functions | Static Public Attributes | List of all members
com.jogamp.common.util.RunnableExecutor Interface Reference
Inheritance diagram for com.jogamp.common.util.RunnableExecutor:
Collaboration diagram for com.jogamp.common.util.RunnableExecutor:

## Classes

class | CurrentThreadExecutor

## Public Member Functions

void | invoke (boolean wait, Runnable r)

## Static Public Attributes

static final RunnableExecutor | currentThreadExecutor = new CurrentThreadExecutor()
| This `RunnableExecutor` implementation simply invokes `Runnable#run()` on the current thread. More...

## Detailed Description

Definition at line 30 of file RunnableExecutor.java.

## Member Function Documentation

## ◆ invoke()

void com.jogamp.common.util.RunnableExecutor.invoke | ( | boolean | wait,
|  | Runnable | r
| ) |  |

Parameters

  wait | if true method waits until `Runnable#run()` is completed, otherwise don't wait.
  r | the `Runnable` to be executed.

Implemented in com.jogamp.common.util.awt.AWTEDTExecutor, and com.jogamp.common.util.RunnableExecutor.CurrentThreadExecutor.

Here is the caller graph for this function:

## Member Data Documentation

## ◆ currentThreadExecutor

final RunnableExecutor com.jogamp.common.util.RunnableExecutor.currentThreadExecutor = new CurrentThreadExecutor()

static

This `RunnableExecutor` implementation simply invokes `Runnable#run()` on the current thread.

Definition at line 34 of file RunnableExecutor.java.

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

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