public interface EventAccess
Modifier and Type | Method and Description |
---|---|
ProcessGroupStatus |
getControllerStatus() |
List<Action> |
getFlowChanges(int firstActionId,
int maxActions)
Obtains flow changes starting with (and including) the given action ID.
|
ProcessGroupStatus |
getGroupStatus(String groupId) |
List<ProvenanceEventRecord> |
getProvenanceEvents(long firstEventId,
int maxRecords)
Convenience method to obtain Provenance Events starting with (and
including) the given ID.
|
ProvenanceEventRepository |
getProvenanceRepository() |
long |
getTotalBytesRead()
Returns the total number of bytes read by this instance (at the root process group level, i.e.
|
long |
getTotalBytesReceived()
Returns the total number of bytes received by this instance (at the root process group level) since the instance started
|
long |
getTotalBytesSent()
Returns the total number of bytes sent by this instance (at the root process group level) since the instance started
|
long |
getTotalBytesWritten()
Returns the total number of bytes written by this instance (at the root process group level, i.e.
|
ProcessGroupStatus getControllerStatus()
ProcessGroupStatus getGroupStatus(String groupId)
List<ProvenanceEventRecord> getProvenanceEvents(long firstEventId, int maxRecords) throws IOException
firstEventId
.firstEventId
- the ID of the first event to obtainmaxRecords
- the maximum number of records to obtainIOException
- if unable to get recordsProvenanceEventRepository getProvenanceRepository()
List<Action> getFlowChanges(int firstActionId, int maxActions)
firstActionId
.firstActionId
- the id of the first action to obtainmaxActions
- the maximum number of actions to obtainlong getTotalBytesRead()
long getTotalBytesWritten()
long getTotalBytesSent()
long getTotalBytesReceived()
Copyright © 2023 Apache NiFi Project. All rights reserved.