Top Fields Constructors Methods
org.jboss.threads

pack-priv Class RejectingExecutor

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

Field Summary

Modifier and TypeField and Description
pack-priv static final RejectingExecutor
private final String

Constructor Summary

AccessConstructor and Description
private
pack-priv
RejectingExecutor(final String message)

Method Summary

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

Implements java.util.concurrent.Executor.execute.

Executes the given command at some time in the future.
public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

INSTANCEback to summary
pack-priv static final RejectingExecutor INSTANCE
messageback to summary
private final String message

Constructor Detail

RejectingExecutorback to summary
private RejectingExecutor()
RejectingExecutorback to summary
pack-priv RejectingExecutor(final String message)

Method Detail

executeback to summary
public void execute(final Runnable command)

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
command:Runnable

the runnable task

toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object.

Returns:String

a string representation of the object.