org.apache.flume.channel
Class DefaultChannelFactory

java.lang.Object
  extended by org.apache.flume.channel.DefaultChannelFactory
All Implemented Interfaces:
ChannelFactory

public class DefaultChannelFactory
extends Object
implements ChannelFactory


Constructor Summary
DefaultChannelFactory()
           
 
Method Summary
 Channel create(String name, String type)
           
 Map<Class<?>,Map<String,Channel>> getRegistryClone()
           
 boolean unregister(Channel channel)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultChannelFactory

public DefaultChannelFactory()
Method Detail

unregister

public boolean unregister(Channel channel)
Specified by:
unregister in interface ChannelFactory

create

public Channel create(String name,
                      String type)
               throws FlumeException
Specified by:
create in interface ChannelFactory
Throws:
FlumeException

getRegistryClone

public Map<Class<?>,Map<String,Channel>> getRegistryClone()


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