Class WriteFlowFileCountToFile
java.lang.Object
org.apache.nifi.components.AbstractConfigurableComponent
org.apache.nifi.processor.AbstractSessionFactoryProcessor
org.apache.nifi.processor.AbstractProcessor
org.apache.nifi.processors.tests.system.WriteFlowFileCountToFile
- All Implemented Interfaces:
ClassloaderIsolationKeyProvider,ConfigurableComponent,Processor
@RequiresInstanceClassLoading(cloneAncestorResources=true)
public class WriteFlowFileCountToFile
extends AbstractProcessor
implements ClassloaderIsolationKeyProvider
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) static final PropertyDescriptorprivate static final AtomicLong(package private) static final PropertyDescriptor(package private) static final PropertyDescriptorprivate final Relationshipprivate final Relationship -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected List<PropertyDescriptor> voidonTrigger(ProcessContext context, ProcessSession session) Methods inherited from class org.apache.nifi.processor.AbstractProcessor
onTriggerMethods inherited from class org.apache.nifi.processor.AbstractSessionFactoryProcessor
getControllerServiceLookup, getIdentifier, getLogger, getNodeTypeProvider, 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
-
counter
-
ISOLATION_KEY
-
FILE_TO_WRITE
-
CLASS_TO_CREATE
-
REL_SUCCESS
-
REL_FAILURE
-
-
Constructor Details
-
WriteFlowFileCountToFile
public WriteFlowFileCountToFile()
-
-
Method Details
-
getSupportedPropertyDescriptors
- Overrides:
getSupportedPropertyDescriptorsin classAbstractConfigurableComponent
-
getRelationships
- Specified by:
getRelationshipsin interfaceProcessor- Overrides:
getRelationshipsin classAbstractSessionFactoryProcessor
-
getClassloaderIsolationKey
- Specified by:
getClassloaderIsolationKeyin interfaceClassloaderIsolationKeyProvider
-
onTrigger
- Specified by:
onTriggerin classAbstractProcessor- Throws:
ProcessException
-