public class StageManager
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static long |
KEEPALIVE |
Constructor and Description |
---|
StageManager() |
Modifier and Type | Method and Description |
---|---|
static LocalAwareExecutorService |
getStage(Stage stage)
Retrieve a stage from the StageManager
|
static void |
shutdownAndWait(long timeout,
java.util.concurrent.TimeUnit unit) |
static void |
shutdownNow()
This method shuts down all registered stages.
|
public static final long KEEPALIVE
public static LocalAwareExecutorService getStage(Stage stage)
stage
- name of the stage to be retrieved.public static void shutdownNow()
public static void shutdownAndWait(long timeout, java.util.concurrent.TimeUnit unit) throws java.lang.InterruptedException, java.util.concurrent.TimeoutException
java.lang.InterruptedException
java.util.concurrent.TimeoutException
Copyright © 2009-2022 The Apache Software Foundation