public class StatisticsExecutorImpl extends Object implements org.jboss.jca.core.api.workmanager.StatisticsExecutor
| Constructor and Description |
|---|
StatisticsExecutorImpl(org.jboss.threads.BlockingExecutor realExecutor)
StatisticsExecutorImpl constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
execute(Runnable runnable) |
void |
executeBlocking(Runnable runnable) |
void |
executeBlocking(Runnable runnable,
long l,
TimeUnit timeUnit) |
void |
executeNonBlocking(Runnable runnable) |
long |
getNumberOfFreeThreads() |
public StatisticsExecutorImpl(org.jboss.threads.BlockingExecutor realExecutor)
realExecutor - the real executor we are delegatingpublic void execute(Runnable runnable)
public void executeBlocking(Runnable runnable) throws RejectedExecutionException, InterruptedException
executeBlocking in interface org.jboss.threads.BlockingExecutorRejectedExecutionExceptionInterruptedExceptionpublic void executeBlocking(Runnable runnable, long l, TimeUnit timeUnit) throws RejectedExecutionException, InterruptedException
executeBlocking in interface org.jboss.threads.BlockingExecutorRejectedExecutionExceptionInterruptedExceptionpublic void executeNonBlocking(Runnable runnable) throws RejectedExecutionException
executeNonBlocking in interface org.jboss.threads.BlockingExecutorRejectedExecutionExceptionpublic long getNumberOfFreeThreads()
getNumberOfFreeThreads in interface org.jboss.jca.core.api.workmanager.StatisticsExecutorCopyright © 2022 JBoss by Red Hat. All rights reserved.