public class ShmemAcceptWorker extends GridWorker
isCancelled| Constructor and Description |
|---|
ShmemAcceptWorker(String igniteInstanceName,
GridNioServerListener<Message> srvLsnr,
IpcSharedMemoryServerEndpoint srv,
TcpCommunicationMetricsListener metricsLsnr,
IgniteLogger log,
MessageFactory msgFactory,
GridNioMessageWriterFactory writerFactory,
GridNioMessageReaderFactory readerFactory,
Tracing tracing) |
| 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.
|
void |
metricsListener(@Nullable TcpCommunicationMetricsListener metricsLsnr) |
blockingSectionBegin, blockingSectionEnd, cleanup, heartbeatTs, igniteInstanceName, isCancelled, isDone, join, name, onIdle, run, runner, toString, updateHeartbeatpublic ShmemAcceptWorker(String igniteInstanceName, GridNioServerListener<Message> srvLsnr, IpcSharedMemoryServerEndpoint srv, TcpCommunicationMetricsListener metricsLsnr, IgniteLogger log, MessageFactory msgFactory, GridNioMessageWriterFactory writerFactory, GridNioMessageReaderFactory readerFactory, Tracing tracing)
igniteInstanceName - Ignite instance name.srvLsnr - Server listener.srv - Server.metricsLsnr - Metrics listener.log - Logger.msgFactory - Message factory.writerFactory - Writer factory.readerFactory - Reader factory.tracing - Tracing.protected void body()
throws InterruptedException
body in class GridWorkerInterruptedException - Thrown in case of interruption.public void cancel()
cancel in class GridWorkerpublic void metricsListener(@Nullable
@Nullable TcpCommunicationMetricsListener metricsLsnr)
metricsLsnr - New statistics.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.11.1 Release Date : December 20 2021