org.apache.flume
Interface ChannelFactory
- All Known Implementing Classes:
- DefaultChannelFactory
public interface ChannelFactory
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.