org.apache.flume.channel.jdbc.impl
Class JdbcTransactionImpl
java.lang.Object
org.apache.flume.channel.jdbc.impl.JdbcTransactionImpl
- All Implemented Interfaces:
- Transaction
public class JdbcTransactionImpl
- extends Object
- implements Transaction
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JdbcTransactionImpl
protected JdbcTransactionImpl(DataSource dataSource,
JdbcTransactionFactory factory,
JdbcChannelProviderImpl provider)
begin
public void begin()
- Specified by:
begin in interface Transaction
commit
public void commit()
- Specified by:
commit in interface Transaction
rollback
public void rollback()
- Specified by:
rollback in interface Transaction
close
public void close()
- Specified by:
close in interface Transaction
getConnection
protected Connection getConnection()
incrementRemovedEventCount
protected void incrementRemovedEventCount()
incrementPersistedEventCount
protected void incrementPersistedEventCount()
Copyright © 2009-2012 Apache Software Foundation. All Rights Reserved.