Github user JPercivall commented on a diff in the pull request:

    https://github.com/apache/nifi/pull/609#discussion_r72658835
  
    --- Diff: 
nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/TransformXml.java
 ---
    @@ -101,16 +101,16 @@
         public static final PropertyDescriptor CACHE_SIZE = new 
PropertyDescriptor.Builder()
                 .name("cache-size")
                 .displayName("Cache size")
    -            .description("Maximum size of the stylesheet cache.")
    +            .description("Maximum number of stylesheets to cache. Zero 
disables the cache.")
                 .required(true)
                 .defaultValue("100")
                 
.addValidator(StandardValidators.NON_NEGATIVE_INTEGER_VALIDATOR)
                 .build();
     
    -    public static final PropertyDescriptor CACHE_DURATION = new 
PropertyDescriptor.Builder()
    -            .name("cache-duration")
    -            .displayName("Cache duration")
    -            .description("How long to keep stylesheets in the cache.")
    +    public static final PropertyDescriptor CACHE_TTL_AFTER_LAST_ACCESS = 
new PropertyDescriptor.Builder()
    +            .name("cache-ttl-after-last-access")
    +            .displayName("Cache TTL after last access")
    +            .description("How long to keep stylesheets in the cache after 
last access.")
    --- End diff --
    
    I like using TTL in the display name in order to make it more compact but 
not every user may know what TTL means so it'd nice to have the explanation in 
the description.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to