removeAndTerminateWaitingSenders

Removes the entity from the send queue and tells the entity to terminate its process. The process that was suspended because the entity was placed in the queue is immediately terminated.

Parameters

entity

the entity to remove from the queue

waitStats

if true the waiting time statistics are collected on the usage of the queue. The default is false.