ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Moti Nisenson-Ken (JIRA)" <j...@apache.org>
Subject [jira] [Created] (IGNITE-11619) Misleading Javadoc for IgniteConfiguration.setMetricsExpireTime
Date Sun, 24 Mar 2019 12:18:00 GMT
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)

Mime
View raw message