|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.flume.node.nodemanager.AbstractLogicalNodeManager
org.apache.flume.node.nodemanager.DefaultLogicalNodeManager
public class DefaultLogicalNodeManager
| Constructor Summary | |
|---|---|
DefaultLogicalNodeManager()
|
|
| Method Summary | |
|---|---|
boolean |
add(LifecycleAware node)
|
LifecycleState |
getLifecycleState()
Return the current state of the service or component. |
void |
onNodeConfigurationChanged(NodeConfiguration nodeConfiguration)
|
boolean |
remove(LifecycleAware node)
|
void |
start()
Starts a service or component. |
void |
stop()
Stops a service or component. |
| Methods inherited from class org.apache.flume.node.nodemanager.AbstractLogicalNodeManager |
|---|
getNodes, setNodes, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultLogicalNodeManager()
| Method Detail |
|---|
public void onNodeConfigurationChanged(NodeConfiguration nodeConfiguration)
onNodeConfigurationChanged in interface NodeConfigurationAwarepublic boolean add(LifecycleAware node)
add in interface NodeManageradd in class AbstractLogicalNodeManagerpublic boolean remove(LifecycleAware node)
remove in interface NodeManagerremove in class AbstractLogicalNodeManagerpublic void start()
LifecycleAwareStarts a service or component.
Implementations should determine the result of any start logic and effect
the return value of LifecycleAware.getLifecycleState() accordingly.
start in interface LifecycleAwarepublic void stop()
LifecycleAwareStops a service or component.
Implementations should determine the result of any stop logic and effect
the return value of LifecycleAware.getLifecycleState() accordingly.
stop in interface LifecycleAwarepublic LifecycleState getLifecycleState()
LifecycleAwareReturn the current state of the service or component.
getLifecycleState in interface LifecycleAware
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||