public class SecurityAwareStripedThreadPoolExecutor extends IgniteStripedThreadPoolExecutor
IgniteStripedThreadPoolExecutor with the ability to execute tasks in security context that was actual
when task was added to executor's queue.| Constructor and Description |
|---|
SecurityAwareStripedThreadPoolExecutor(IgniteSecurity security,
int concurrentLvl,
String igniteInstanceName,
String threadNamePrefix,
Thread.UncaughtExceptionHandler eHnd,
boolean allowCoreThreadTimeOut,
long keepAliveTime) |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(Runnable task,
int idx)
Executes the given command at some time in the future.
|
awaitTermination, execute, invokeAll, invokeAll, invokeAny, invokeAny, isShutdown, isTerminated, registerMetrics, shutdown, shutdownNow, submit, submit, submit, threadId, toStringpublic SecurityAwareStripedThreadPoolExecutor(IgniteSecurity security, int concurrentLvl, String igniteInstanceName, String threadNamePrefix, Thread.UncaughtExceptionHandler eHnd, boolean allowCoreThreadTimeOut, long keepAliveTime)
public void execute(Runnable task, int idx)
index
will be executed in the same thread.execute in class IgniteStripedThreadPoolExecutortask - the runnable taskidx - Striped index.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.15.0 Release Date : April 25 2023