ijokarumawak commented on a change in pull request #3552: NIFI-6395:
Thread-safety bug fixed and added new flag property to han…
URL: https://github.com/apache/nifi/pull/3552#discussion_r341874789
##########
File path:
nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/CountText.java
##########
@@ -141,7 +142,15 @@
.allowableValues(getStandardCharsetNames())
.defaultValue(StandardCharsets.UTF_8.displayName())
.build();
-
+ public static final PropertyDescriptor ADJUST_IMMEDIATELY = new
PropertyDescriptor.Builder()
+ .name("ajust-immediately")
+ .displayName("Call Immediate Adjustment")
+ .description("If true, the counter will be updated immediately,
without regard to whether the ProcessSession is commit or rolled back;
otherwise, the counter will be incremented only if and when the ProcessSession
is committed.")
Review comment:
This line causes the following check-style issue:
> [WARNING]
src/main/java/org/apache/nifi/processors/standard/CountText.java:[148] (sizes)
LineLength: Line is longer than 200 characters (found 241).
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services