Class CountEvents
java.lang.Object
org.apache.nifi.components.AbstractConfigurableComponent
org.apache.nifi.processor.AbstractSessionFactoryProcessor
org.apache.nifi.processors.tests.system.CountEvents
- All Implemented Interfaces:
ConfigurableComponent,Processor
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final AtomicBoolean(package private) static final PropertyDescriptor(package private) static final PropertyDescriptorprivate ProcessSessionFactory -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected List<PropertyDescriptor> voidvoidvoidonTrigger(ProcessContext context, ProcessSessionFactory sessionFactory) voidMethods inherited from class org.apache.nifi.processor.AbstractSessionFactoryProcessor
getControllerServiceLookup, getIdentifier, getLogger, getNodeTypeProvider, getRelationships, init, initialize, isConfigurationRestored, isScheduled, toString, updateConfiguredRestoredTrue, updateScheduledFalse, updateScheduledTrueMethods inherited from class org.apache.nifi.components.AbstractConfigurableComponent
customValidate, equals, getPropertyDescriptor, getPropertyDescriptors, getSupportedDynamicPropertyDescriptor, hashCode, onPropertyModified, validateMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.nifi.components.ConfigurableComponent
getPropertyDescriptor, getPropertyDescriptors, onPropertyModified, validateMethods inherited from interface org.apache.nifi.processor.Processor
isStateful, migrateProperties, migrateRelationships
-
Field Details
-
sessionFactory
-
firstScheduleCounted
-
NAME
-
SENSITIVE
-
-
Constructor Details
-
CountEvents
public CountEvents()
-
-
Method Details
-
getSupportedPropertyDescriptors
- Overrides:
getSupportedPropertyDescriptorsin classAbstractConfigurableComponent
-
onStopped
-
onScheduled
-
onUnScheduled
-
onTrigger
public void onTrigger(ProcessContext context, ProcessSessionFactory sessionFactory) throws ProcessException - Throws:
ProcessException
-