@Documented @Target(value=TYPE) @Retention(value=RUNTIME) @Inherited public @interface SupportsBatching
ProcessSession
s' commits, as well as
allowing the Framework to return the same ProcessSession multiple times from
subsequent calls to
ProcessSessionFactory
.
createSession()
.
When this Annotation is used, it is important to note that calls to
ProcessSession.commit()
may
not provide a guarantee that the data has been safely stored in NiFi's
Content Repository or FlowFile Repository. Therefore, it is not appropriate,
for instance, to use this annotation if the Processor will call
ProcessSession.commit() to ensure data is persisted before deleting the data
from a remote source.
When the defaultDuration parameter is set, the processor is created with the supplied duration time, which can be adjusted afterwards.
The supplied values can be selected from DefaultRunDuration
.Modifier and Type | Optional Element and Description |
---|---|
DefaultRunDuration |
defaultDuration |
public abstract DefaultRunDuration defaultDuration
Copyright © 2023 Apache NiFi Project. All rights reserved.