public class LifecycleController extends Object
Constructor and Description |
---|
LifecycleController() |
Modifier and Type | Method and Description |
---|---|
static void |
stopAll(List<LifecycleAware> services) |
static boolean |
waitForOneOf(LifecycleAware delegate,
LifecycleState[] states) |
static boolean |
waitForOneOf(LifecycleAware delegate,
LifecycleState[] states,
long timeout) |
static boolean |
waitForState(LifecycleAware delegate,
LifecycleState state) |
static boolean |
waitForState(LifecycleAware delegate,
LifecycleState state,
long timeout) |
public static boolean waitForState(LifecycleAware delegate, LifecycleState state) throws InterruptedException
InterruptedException
public static boolean waitForState(LifecycleAware delegate, LifecycleState state, long timeout) throws InterruptedException
InterruptedException
public static boolean waitForOneOf(LifecycleAware delegate, LifecycleState[] states) throws InterruptedException
InterruptedException
public static boolean waitForOneOf(LifecycleAware delegate, LifecycleState[] states, long timeout) throws InterruptedException
InterruptedException
public static void stopAll(List<LifecycleAware> services) throws InterruptedException
InterruptedException
Copyright © 2009–2019 Apache Software Foundation. All rights reserved.