public class LongRunningActionHandler
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
LongRunningActionHandler.EventType |
Constructor and Description |
---|
LongRunningActionHandler() |
Modifier and Type | Method and Description |
---|---|
void |
addListener(java.util.function.BiConsumer<java.util.concurrent.Future<?>,LongRunningActionHandler.EventType> listener) |
void |
addLongRunningAction(java.util.concurrent.Future<?> future) |
void |
markTerminated(java.util.concurrent.Future<?> future) |
void |
removeListener(java.util.function.BiConsumer<java.util.concurrent.Future<?>,LongRunningActionHandler.EventType> listener) |
public void addListener(java.util.function.BiConsumer<java.util.concurrent.Future<?>,LongRunningActionHandler.EventType> listener)
public void removeListener(java.util.function.BiConsumer<java.util.concurrent.Future<?>,LongRunningActionHandler.EventType> listener)
public void addLongRunningAction(java.util.concurrent.Future<?> future)
public void markTerminated(java.util.concurrent.Future<?> future)