class ExceptionLoggingExecutor extends java.lang.Object implements DirectExecutor
| Modifier and Type | Field and Description |
|---|---|
private DirectExecutor |
delegate |
private org.jboss.logging.Logger.Level |
level |
private org.jboss.logging.Logger |
log |
| Constructor and Description |
|---|
ExceptionLoggingExecutor(DirectExecutor delegate,
org.jboss.logging.Logger log) |
ExceptionLoggingExecutor(DirectExecutor delegate,
org.jboss.logging.Logger log,
org.jboss.logging.Logger.Level level) |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(java.lang.Runnable command)
Executes the given command in the calling thread.
|
java.lang.String |
toString() |
private final DirectExecutor delegate
private final org.jboss.logging.Logger log
private final org.jboss.logging.Logger.Level level
ExceptionLoggingExecutor(DirectExecutor delegate, org.jboss.logging.Logger log, org.jboss.logging.Logger.Level level)
ExceptionLoggingExecutor(DirectExecutor delegate, org.jboss.logging.Logger log)
public void execute(java.lang.Runnable command)
DirectExecutorexecute in interface java.util.concurrent.Executorexecute in interface DirectExecutorcommand - the runnable taskpublic java.lang.String toString()
toString in class java.lang.Object