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
InterruptedExceptionpublic static boolean waitForState(LifecycleAware delegate, LifecycleState state, long timeout) throws InterruptedException
InterruptedExceptionpublic static boolean waitForOneOf(LifecycleAware delegate, LifecycleState[] states) throws InterruptedException
InterruptedExceptionpublic static boolean waitForOneOf(LifecycleAware delegate, LifecycleState[] states, long timeout) throws InterruptedException
InterruptedExceptionpublic static void stopAll(List<LifecycleAware> services) throws InterruptedException
InterruptedExceptionCopyright © 2009-2017 Apache Software Foundation. All Rights Reserved.