public interface ComponentStatusRepository
Modifier and Type | Method and Description |
---|---|
void |
capture(ProcessGroupStatus rootGroupStatus)
Captures the status information provided in the given report
|
void |
capture(ProcessGroupStatus rootGroupStatus,
Date timestamp)
Captures the status information provided in the given report, providing a
timestamp that indicates the time at which the status report was
generated.
|
List<MetricDescriptor<ConnectionStatus>> |
getConnectionMetricDescriptors() |
StatusHistory |
getConnectionStatusHistory(String connectionId,
Date start,
Date end,
int preferredDataPoints) |
Date |
getLastCaptureDate() |
List<MetricDescriptor<ProcessGroupStatus>> |
getProcessGroupMetricDescriptors() |
StatusHistory |
getProcessGroupStatusHistory(String processGroupId,
Date start,
Date end,
int preferredDataPoints) |
List<MetricDescriptor<ProcessorStatus>> |
getProcessorMetricDescriptors() |
StatusHistory |
getProcessorStatusHistory(String processorId,
Date start,
Date end,
int preferredDataPoints) |
List<MetricDescriptor<RemoteProcessGroupStatus>> |
getRemoteProcessGroupMetricDescriptors() |
StatusHistory |
getRemoteProcessGroupStatusHistory(String remoteGroupId,
Date start,
Date end,
int preferredDataPoints) |
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()
MetricDescriptor
s that are applicable to
Process GroupsList<MetricDescriptor<ProcessorStatus>> getProcessorMetricDescriptors()
MetricDescriptor
s that are applicable to
ProcessorsList<MetricDescriptor<RemoteProcessGroupStatus>> getRemoteProcessGroupMetricDescriptors()
MetricDescriptor
s that are applicable to
Remote Process GroupsList<MetricDescriptor<ConnectionStatus>> getConnectionMetricDescriptors()
MetricDescriptor
s that are applicable to
ConnectionsCopyright © 2015 Apache NiFi Project. All rights reserved.