org.apache.flume.channel.jdbc
Class JdbcChannel

java.lang.Object
  extended by org.apache.flume.channel.AbstractChannel
      extended by 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.
 
Method Summary
 void configure(Context context)
           
 Transaction getTransaction()
           
 void put(Event event)
           
 void stop()
           
 Event take()
           
 
Methods inherited from class org.apache.flume.channel.AbstractChannel
getLifecycleState, getName, setName, start
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JdbcChannel

public JdbcChannel()
Instantiates a new JDBC Channel.

Method Detail

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.