public abstract static class StripedExecutor.Stripe extends GridWorker
| Modifier and Type | Field and Description |
|---|---|
protected int |
idx |
protected Thread |
thread
Thread executing the loop.
|
isCancelled| Constructor and Description |
|---|
Stripe(String igniteInstanceName,
String poolName,
int idx,
IgniteLogger log,
IgniteInClosure<Throwable> errHnd,
GridWorkerListener gridWorkerLsnr,
HistogramMetricImpl execTime) |
| Modifier and Type | Method and Description |
|---|---|
void |
body()
The implementation should provide the execution body for this runnable.
|
int |
index() |
abstract Queue<Runnable> |
queue() |
String |
toString() |
blockingSectionBegin, blockingSectionEnd, cancel, cleanup, heartbeatTs, igniteInstanceName, isCancelled, isDone, join, name, onCancel, onCancelledBeforeWorkerScheduled, onIdle, run, runner, updateHeartbeatprotected final int idx
protected Thread thread
public Stripe(String igniteInstanceName, String poolName, int idx, IgniteLogger log, IgniteInClosure<Throwable> errHnd, GridWorkerListener gridWorkerLsnr, HistogramMetricImpl execTime)
igniteInstanceName - Ignite instance name.poolName - Pool name.idx - Stripe index.log - Logger.errHnd - Exception handler.gridWorkerLsnr - listener to link with stripe worker.execTime - Task execution time consumer.public void body()
body in class GridWorkerpublic int index()
public String toString()
toString in class GridWorker
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.15.0 Release Date : April 25 2023