public interface ReportingInitializationContext extends KerberosContext
| Modifier and Type | Method and Description |
|---|---|
ControllerServiceLookup |
getControllerServiceLookup() |
String |
getIdentifier() |
ComponentLog |
getLogger() |
String |
getName() |
NodeTypeProvider |
getNodeTypeProvider() |
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() |
getKerberosConfigurationFile, getKerberosServiceKeytab, getKerberosServicePrincipalString 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()
NodeTypeProvider getNodeTypeProvider()
NodeTypeProvider which can be used to detect the node
type of this NiFi instance.Copyright © 2022 Apache NiFi Project. All rights reserved.