org.apache.flume.channel
Class MemoryChannel.MemoryTransaction
java.lang.Object
org.apache.flume.channel.BasicTransactionSemantics
org.apache.flume.channel.MemoryChannel.MemoryTransaction
- All Implemented Interfaces:
- Transaction
- Enclosing class:
- MemoryChannel
public class MemoryChannel.MemoryTransaction
- extends BasicTransactionSemantics
MemoryChannel.MemoryTransaction
public MemoryChannel.MemoryTransaction(int transCapacity,
ChannelCounter counter)
doPut
protected void doPut(Event event)
- Specified by:
doPut
in class BasicTransactionSemantics
doTake
protected Event doTake()
throws InterruptedException
- Specified by:
doTake
in class BasicTransactionSemantics
- Throws:
InterruptedException
doCommit
protected void doCommit()
throws InterruptedException
- Specified by:
doCommit
in class BasicTransactionSemantics
- Throws:
InterruptedException
doRollback
protected void doRollback()
- Specified by:
doRollback
in class BasicTransactionSemantics
Copyright © 2009-2012 Apache Software Foundation. All Rights Reserved.