org.apache.flume.lifecycle
Class LifecycleController
java.lang.Object
org.apache.flume.lifecycle.LifecycleController
public class LifecycleController
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LifecycleController
public LifecycleController()
waitForState
public static boolean waitForState(LifecycleAware delegate,
LifecycleState state)
throws InterruptedException
- Throws:
InterruptedException
waitForState
public static boolean waitForState(LifecycleAware delegate,
LifecycleState state,
long timeout)
throws InterruptedException
- Throws:
InterruptedException
waitForOneOf
public static boolean waitForOneOf(LifecycleAware delegate,
LifecycleState[] states)
throws InterruptedException
- Throws:
InterruptedException
waitForOneOf
public static boolean waitForOneOf(LifecycleAware delegate,
LifecycleState[] states,
long timeout)
throws InterruptedException
- Throws:
InterruptedException
stopAll
public static void stopAll(List<LifecycleAware> services)
throws InterruptedException
- Throws:
InterruptedException
Copyright © 2009-2015 Apache Software Foundation. All Rights Reserved.