public interface ComponentStatusRepository
void capture(ProcessGroupStatus rootGroupStatus)
rootGroupStatus - status of root groupvoid capture(ProcessGroupStatus rootGroupStatus, Date timestamp)
rootGroupStatus - statustimestamp - timestamp of captureDate getLastCaptureDate()
StatusHistory getConnectionStatusHistory(String connectionId, Date start, Date end, int preferredDataPoints)
connectionId - the ID of the Connection for which the Status is
desiredstart - the earliest date for which status information should be
returned; if null, the start date should be assumed to be
the beginning of timeend - the latest date for which status information should be
returned; if null, the end date should be assumed to be the
current timepreferredDataPoints - the preferred number of data points to return.
If the date range is large, the total number of data points could be far
too many to process. Therefore, this parameter allows the requestor to
indicate how many samples to return.StatusHistory that provides the status information
about the Connection with the given ID during the given time periodStatusHistory getProcessGroupStatusHistory(String processGroupId, Date start, Date end, int preferredDataPoints)
processGroupId - of group to get status ofstart - the earliest date for which status information should be
returned; if null, the start date should be assumed to be
the beginning of timeend - the latest date for which status information should be
returned; if null, the end date should be assumed to be the
current timepreferredDataPoints - the preferred number of data points to return.
If the date range is large, the total number of data points could be far
too many to process. Therefore, this parameter allows the requestor to
indicate how many samples to return.StatusHistory that provides the status information
about the Process Group with the given ID during the given time periodStatusHistory getProcessorStatusHistory(String processorId, Date start, Date end, int preferredDataPoints)
processorId - to get status ofstart - the earliest date for which status information should be
returned; if null, the start date should be assumed to be
the beginning of timeend - the latest date for which status information should be
returned; if null, the end date should be assumed to be the
current timepreferredDataPoints - the preferred number of data points to return.
If the date range is large, the total number of data points could be far
too many to process. Therefore, this parameter allows the requestor to
indicate how many samples to return.StatusHistory that provides the status information
about the Processor with the given ID during the given time periodStatusHistory getRemoteProcessGroupStatusHistory(String remoteGroupId, Date start, Date end, int preferredDataPoints)
remoteGroupId - to get history ofstart - the earliest date for which status information should be
returned; if null, the start date should be assumed to be
the beginning of timeend - the latest date for which status information should be
returned; if null, the end date should be assumed to be the
current timepreferredDataPoints - the preferred number of data points to return.
If the date range is large, the total number of data points could be far
too many to process. Therefore, this parameter allows the requestor to
indicate how many samples to return.StatusHistory that provides the status information
about the Remote Process Group with the given ID during the given time
periodList<MetricDescriptor<ProcessGroupStatus>> getProcessGroupMetricDescriptors()
MetricDescriptors that are applicable to
Process GroupsList<MetricDescriptor<ProcessorStatus>> getProcessorMetricDescriptors()
MetricDescriptors that are applicable to
ProcessorsList<MetricDescriptor<RemoteProcessGroupStatus>> getRemoteProcessGroupMetricDescriptors()
MetricDescriptors that are applicable to
Remote Process GroupsList<MetricDescriptor<ConnectionStatus>> getConnectionMetricDescriptors()
MetricDescriptors that are applicable to
ConnectionsCopyright © 2016 Apache NiFi Project. All rights reserved.