class NifiTransaction
extends org.apache.flume.channel.BasicTransactionSemantics
| Modifier and Type | Field and Description |
|---|---|
private Relationship |
relationship |
private ProcessSession |
session |
| Constructor and Description |
|---|
NifiTransaction(ProcessSession session,
Relationship relationship) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doCommit() |
protected void |
doPut(org.apache.flume.Event event) |
protected void |
doRollback() |
protected org.apache.flume.Event |
doTake() |
private final ProcessSession session
private final Relationship relationship
public NifiTransaction(ProcessSession session, Relationship relationship)
protected void doPut(org.apache.flume.Event event)
throws InterruptedException
doPut in class org.apache.flume.channel.BasicTransactionSemanticsInterruptedExceptionprotected org.apache.flume.Event doTake()
throws InterruptedException
doTake in class org.apache.flume.channel.BasicTransactionSemanticsInterruptedExceptionprotected void doCommit()
throws InterruptedException
doCommit in class org.apache.flume.channel.BasicTransactionSemanticsInterruptedExceptionprotected void doRollback()
throws InterruptedException
doRollback in class org.apache.flume.channel.BasicTransactionSemanticsInterruptedExceptionCopyright © 2015 Apache NiFi Project. All rights reserved.