Top Inners Fields Methods
com.jogamp.common.util

public Interface RunnableExecutor

Known Direct Implementers
com.jogamp.common.util.RunnableExecutor.CurrentThreadExecutor, com.jogamp.common.util.awt.AWTEDTExecutor

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class

Field Summary

Modifier and TypeField and Description
public static final RunnableExecutor
currentThreadExecutor

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

Method Summary

Modifier and TypeMethod and Description
public void
invoke(boolean
if true method waits until Runnable#run() is completed, otherwise don't wait.
wait
,
Runnable
the Runnable to be executed.
r
)

Field Detail

currentThreadExecutorback to summary
public static final RunnableExecutor currentThreadExecutor

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

Method Detail

invokeback to summary
public void invoke(boolean wait, Runnable r)
Parameters
wait:boolean

if true method waits until Runnable#run() is completed, otherwise don't wait.

r:Runnable

the Runnable to be executed.

com.jogamp.common.util back to summary

public Class RunnableExecutor.CurrentThreadExecutor

extends Object
implements RunnableExecutor
Class Inheritance
  • java.lang.Object
  • com.jogamp.common.util.RunnableExecutor.CurrentThreadExecutor
All Implemented Interfaces
com.jogamp.common.util.RunnableExecutor

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public void
invoke(final boolean
if true method waits until Runnable#run() is completed, otherwise don't wait.
wait
,
final Runnable
the Runnable to be executed.
r
)

Implements com.jogamp.common.util.RunnableExecutor.invoke.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

CurrentThreadExecutorback to summary
private CurrentThreadExecutor()

Method Detail

invokeback to summary
public void invoke(final boolean wait, final Runnable r)

Implements com.jogamp.common.util.RunnableExecutor.invoke.

Parameters
wait:boolean

Doc from com.jogamp.common.util.RunnableExecutor.invoke.

if true method waits until Runnable#run() is completed, otherwise don't wait.

r:Runnable

Doc from com.jogamp.common.util.RunnableExecutor.invoke.

the Runnable to be executed.

Annotations
@Override