Top Fields Constructors Methods
org.terracotta.statistics.util

public final Class InThreadExecutor

extends Object
implements Executor
Class Inheritance
All Implemented Interfaces
java.util.concurrent.Executor
Imports
java.util.concurrent.Executor

Author
cdennis

Field Summary

Modifier and TypeField and Description
public static final Executor

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public void
execute(Runnable
the runnable task
r
)

Implements java.util.concurrent.Executor.execute.

Executes the given command at some time in the future.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

INSTANCEback to summary
public static final Executor INSTANCE

Constructor Detail

InThreadExecutorback to summary
private InThreadExecutor()

Method Detail

executeback to summary
public void execute(Runnable r)

Implements java.util.concurrent.Executor.execute.

Doc from java.util.concurrent.Executor.execute.

Executes the given command at some time in the future. The command may execute in a new thread, in a pooled thread, or in the calling thread, at the discretion of the Executor implementation.

Parameters
r:Runnable

the runnable task

Annotations
@Override