public interface DropFlowFileStatus
FlowFileQueue. When a queue is requested to drop its FlowFiles,
that process may be rather lengthy in the case of a poorly behaving
FlowFileRepository or if the destination Processor is polling from the
queue using a filter that is misbehaving. As a result, the dropping of
FlowFiles is performed asynchronously.
This status object provides information about how far along in the process
we currently are and information about the success or failure of the
operation.| Modifier and Type | Method and Description |
|---|---|
QueueSize |
getCurrentSize() |
QueueSize |
getDroppedSize() |
String |
getFailureReason() |
long |
getLastUpdated() |
QueueSize |
getOriginalSize() |
String |
getRequestIdentifier() |
long |
getRequestSubmissionTime() |
DropFlowFileState |
getState() |
String getRequestIdentifier()
long getRequestSubmissionTime()
long getLastUpdated()
QueueSize getOriginalSize()
null if
it is not yet known, which can happen if the DropFlowFileState is
DropFlowFileState.WAITING_FOR_LOCK.QueueSize getCurrentSize()
null if it is not yet knownQueueSize getDroppedSize()
DropFlowFileState getState()
String getFailureReason()
null if the state is not DropFlowFileState.FAILURE.Copyright © 2015 Apache NiFi Project. All rights reserved.