org.apache.flume.channel
Class MemoryChannel
java.lang.Object
org.apache.flume.channel.AbstractChannel
org.apache.flume.channel.BasicChannelSemantics
org.apache.flume.channel.MemoryChannel
- All Implemented Interfaces:
- Channel, Configurable, LifecycleAware, NamedComponent
public class MemoryChannel
- extends BasicChannelSemantics
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MemoryChannel
public MemoryChannel()
configure
public void configure(Context context)
- Specified by:
configure
in interface Configurable
- Overrides:
configure
in class AbstractChannel
createTransaction
protected BasicTransactionSemantics createTransaction()
- Description copied from class:
BasicChannelSemantics
Called to create new Transaction
objects, which must
extend BasicTransactionSemantics
. Each object is used
for only one transaction, but is stored in a thread-local and
retrieved by getTransaction
for the duration of that
transaction.
- Specified by:
createTransaction
in class BasicChannelSemantics
Copyright © 2009-2012 Apache Software Foundation. All Rights Reserved.