public class SecurityAwareStripedExecutor extends StripedExecutor
StripedExecutor with the ability to execute tasks in security context that was actual when task was
added to executor's queue.StripedExecutor.StripeDFLT_DATA_STREAMING_EXECUTOR_SERVICE_TASKS_STEALING_THRESHOLD| Constructor and Description |
|---|
SecurityAwareStripedExecutor(IgniteSecurity security,
int cnt,
String igniteInstanceName,
String poolName,
IgniteLogger log,
IgniteInClosure<Throwable> errHnd,
boolean stealTasks,
GridWorkerListener gridWorkerLsnr,
long failureDetectionTimeout) |
SecurityAwareStripedExecutor(IgniteSecurity security,
int cnt,
String igniteInstanceName,
String poolName,
IgniteLogger log,
IgniteInClosure<Throwable> errHnd,
GridWorkerListener gridWorkerLsnr,
long failureDetectionTimeout) |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(int idx,
Runnable cmd)
Execute command.
|
void |
execute(@NotNull Runnable cmd) |
activeStripesCount, awaitComplete, awaitTermination, completedTasks, detectStarvation, invokeAll, invokeAll, invokeAny, invokeAny, isShutdown, isTerminated, queueSize, queueStripeSize, registerMetrics, shutdown, shutdownNow, stop, stripes, stripesActiveStatuses, stripesCompletedTasks, stripesCount, stripesQueueSizes, submit, submit, submit, toStringpublic SecurityAwareStripedExecutor(IgniteSecurity security, int cnt, String igniteInstanceName, String poolName, IgniteLogger log, IgniteInClosure<Throwable> errHnd, GridWorkerListener gridWorkerLsnr, long failureDetectionTimeout)
public SecurityAwareStripedExecutor(IgniteSecurity security, int cnt, String igniteInstanceName, String poolName, IgniteLogger log, IgniteInClosure<Throwable> errHnd, boolean stealTasks, GridWorkerListener gridWorkerLsnr, long failureDetectionTimeout)
public void execute(int idx,
Runnable cmd)
execute in class StripedExecutoridx - Index.cmd - Command.public void execute(@NotNull
@NotNull Runnable cmd)
execute in interface Executorexecute in class StripedExecutor
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.15.0 Release Date : April 25 2023