org.apache.activemq.artemis.utils.PendingTask

Here are the examples of the java api class org.apache.activemq.artemis.utils.PendingTask taken from open source projects.

1. StompSession#afterDelivery()

Project: activemq-artemis
File: StompSession.java
@Override
public void afterDelivery() throws Exception {
    PendingTask task;
    while ((task = afterDeliveryTasks.poll()) != null) {
        task.run();
    }
}