org.apache.flume.channel.jdbc
Class JdbcChannel
java.lang.Object
org.apache.flume.channel.AbstractChannel
org.apache.flume.channel.jdbc.JdbcChannel
- All Implemented Interfaces:
- Channel, Configurable, LifecycleAware, NamedComponent
public class JdbcChannel
- extends AbstractChannel
A JDBC based channel implementation.
|
Constructor Summary |
JdbcChannel()
Instantiates a new JDBC Channel. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JdbcChannel
public JdbcChannel()
- Instantiates a new JDBC Channel.
put
public void put(Event event)
throws ChannelException
- Throws:
ChannelException
take
public Event take()
throws ChannelException
- Throws:
ChannelException
getTransaction
public Transaction getTransaction()
stop
public void stop()
- Specified by:
stop in interface LifecycleAware- Overrides:
stop in class AbstractChannel
configure
public void configure(Context context)
- Specified by:
configure in interface Configurable- Overrides:
configure in class AbstractChannel
Copyright © 2009-2012 Apache Software Foundation. All Rights Reserved.