org.apache.flume.node.nodemanager
Class AbstractLogicalNodeManager

java.lang.Object
  extended by org.apache.flume.node.nodemanager.AbstractLogicalNodeManager
All Implemented Interfaces:
LifecycleAware, NodeManager
Direct Known Subclasses:
DefaultLogicalNodeManager

public abstract class AbstractLogicalNodeManager
extends Object
implements NodeManager


Constructor Summary
AbstractLogicalNodeManager()
           
 
Method Summary
 boolean add(LifecycleAware node)
           
 Set<LifecycleAware> getNodes()
           
 boolean remove(LifecycleAware node)
           
 void setNodes(Set<LifecycleAware> nodes)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.flume.lifecycle.LifecycleAware
getLifecycleState, start, stop
 

Constructor Detail

AbstractLogicalNodeManager

public AbstractLogicalNodeManager()
Method Detail

add

public boolean add(LifecycleAware node)
Specified by:
add in interface NodeManager

remove

public boolean remove(LifecycleAware node)
Specified by:
remove in interface NodeManager

getNodes

public Set<LifecycleAware> getNodes()
Specified by:
getNodes in interface NodeManager

setNodes

public void setNodes(Set<LifecycleAware> nodes)
Specified by:
setNodes in interface NodeManager

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2009-2013 Apache Software Foundation. All Rights Reserved.