You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Moti Nisenson-Ken (JIRA)" <ji...@apache.org> on 2019/03/24 12:18:00 UTC

[jira] [Created] (IGNITE-11619) Misleading Javadoc for IgniteConfiguration.setMetricsExpireTime

Moti Nisenson-Ken created IGNITE-11619:
------------------------------------------

             Summary: Misleading Javadoc for IgniteConfiguration.setMetricsExpireTime
                 Key: IGNITE-11619
                 URL: https://issues.apache.org/jira/browse/IGNITE-11619
             Project: Ignite
          Issue Type: Bug
    Affects Versions: 2.7, 2.4
            Reporter: Moti Nisenson-Ken


The javadoc reads:

  * Sets time in milliseconds after which a certain metric value is considered expired.

     * If not set explicitly, then default value is \{@code 600,000} milliseconds (10 minutes).

     *

     * @param metricsExpTime The metricsExpTime to set.

     * @see #DFLT_METRICS_EXPIRE_TIME

     * @return \{@code this} for chaining.

 

Note that DFLT_METRICS_EXPIRE_TIME is:

  /**

     * Default metrics expire time. The value is {@link Long#MAX_VALUE} which

     * means that metrics never expire.

     */



I haven't verified which versions are impacted - it has likely been present for a very long time (at least since 2.4, perhaps much longer)



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)