public interface TransactionCompletion
Transaction
that
has completed successfully.Modifier and Type | Method and Description |
---|---|
long |
getBytesTransferred() |
int |
getDataPacketsTransferred() |
long |
getDuration(java.util.concurrent.TimeUnit timeUnit) |
boolean |
isBackoff()
When a sending to a NiFi instance, the server may accept the content sent
to it but indicate that its queues are full and that the client should
backoff sending data for a bit.
|
boolean isBackoff()
true
if the server did in fact request that,
false
otherwiseint getDataPacketsTransferred()
long getBytesTransferred()
InputStream
of the
DataPacket
long getDuration(java.util.concurrent.TimeUnit timeUnit)
timeUnit
- unit of time for which to report the duration