public class ShmemWorker extends GridWorker
isCancelled| Constructor and Description |
|---|
ShmemWorker(String igniteInstanceName,
IgniteLogger log,
Tracing tracing,
IpcEndpoint endpoint,
GridNioServerListener<Message> srvLsnr,
TcpCommunicationMetricsListener metricsLsnr,
GridNioMessageReaderFactory readerFactory,
GridNioMessageWriterFactory writerFactory,
MessageFactory msgFactory) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
body()
The implementation should provide the execution body for this runnable.
|
void |
cancel()
Cancels this runnable interrupting actual runner.
|
protected void |
cleanup()
Optional method that will be called after runnable is finished.
|
void |
onFinish(Runnable lsnr) |
String |
toString() |
blockingSectionBegin, blockingSectionEnd, heartbeatTs, igniteInstanceName, isCancelled, isDone, join, name, onIdle, run, runner, updateHeartbeatpublic ShmemWorker(String igniteInstanceName, IgniteLogger log, Tracing tracing, IpcEndpoint endpoint, GridNioServerListener<Message> srvLsnr, TcpCommunicationMetricsListener metricsLsnr, GridNioMessageReaderFactory readerFactory, GridNioMessageWriterFactory writerFactory, MessageFactory msgFactory)
igniteInstanceName - Ignite instance name.log - Logger.tracing - Tracing.endpoint - Endpoint.srvLsnr - Server listener.metricsLsnr - Metrics listener.readerFactory - Reader factory.writerFactory - Writer factory.msgFactory - Message factory.protected void body()
throws InterruptedException
body in class GridWorkerInterruptedException - Thrown in case of interruption.public void onFinish(Runnable lsnr)
lsnr - Listener to onFinish event.public void cancel()
cancel in class GridWorkerprotected void cleanup()
cleanup in class GridWorkerpublic String toString()
toString in class GridWorker
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.11.1 Release Date : December 20 2021