org.apache.flume
Interface ChannelFactory

All Known Implementing Classes:
DefaultChannelFactory

public interface ChannelFactory


Method Summary
 Channel create(String name)
           
 Channel createFanout(String chList, Map<String,Channel> chMap)
           
 Set<String> getChannelNames()
           
 boolean register(String name, Class<? extends Channel> channelClass)
           
 boolean unregister(String name)
           
 

Method Detail

register

boolean register(String name,
                 Class<? extends Channel> channelClass)

unregister

boolean unregister(String name)

create

Channel create(String name)
               throws InstantiationException
Throws:
InstantiationException

createFanout

Channel createFanout(String chList,
                     Map<String,Channel> chMap)
                     throws InstantiationException
Throws:
InstantiationException

getChannelNames

Set<String> getChannelNames()


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