public interface ReportingInitializationContext
| Modifier and Type | Method and Description |
|---|---|
ControllerServiceLookup |
getControllerServiceLookup() |
String |
getIdentifier() |
ComponentLog |
getLogger() |
String |
getName() |
String |
getSchedulingPeriod() |
long |
getSchedulingPeriod(TimeUnit timeUnit)
Returns the amount of time, in the given
TimeUnit that will
elapsed between the return of one execution of the
ReportingTask's
onTrigger method and
the time at which the method is invoked again. |
SchedulingStrategy |
getSchedulingStrategy() |
String getIdentifier()
String getName()
long getSchedulingPeriod(TimeUnit timeUnit)
TimeUnit that will
elapsed between the return of one execution of the
ReportingTask's
onTrigger method and
the time at which the method is invoked again. This method will return
-1L if the Scheduling Strategy is not set to
SchedulingStrategy.TIMER_DRIVENtimeUnit - unit of time for schedulingControllerServiceLookup getControllerServiceLookup()
ControllerServiceLookup which can be used to obtain
Controller ServicesString getSchedulingPeriod()
SchedulingStrategy getSchedulingStrategy()
SchedulingStrategy that is used to trigger the task
to runComponentLog getLogger()
Copyright © 2016 Apache NiFi Project. All rights reserved.