Uploaded image for project: 'Geode'
  1. Geode
  2. GEODE-6850

Deprecate "int" statistics in favor of "long" statistics

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.10.0
    • docs, statistics

    Description

      The "int" methods on the statistics interfaces have been deprecated.
      They are on the Statistics interface and the StatisticsTypeFactory interface (look for methods containing "Int") .
      The implementation of these deprecated "int" methods now use the "long" methods.
      The only place this could be visible to a user is if they call Statistics.get(String) or Statistics.get(StatisticDescriptor). Both of these methods return a "Number" instance.
      These methods continue to do this and existing code will work fine if it does not try to downcast the Number to a subclass. But for "int" stats, these methods used to return an "Integer" instance and now return a "Long" instance.

      Attachments

        Issue Links

          Activity

            People

              dschneider Darrel Schneider
              dschneider Darrel Schneider
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h
                  1h