Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-5952

Need to refactor IgniteSystemProperties

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      Description

      I would think of introducing enum each member of one should clearly define:

      1. name and envvar/sysprop name to set
      2. type
      3. default value
      4. additional methods for parsing and validation
      5. documentation, possibly, with links to code

      This should help to avoid situations like this:
      org.apache.ignite.internal.IgniteKernal#PERIODIC_STARVATION_CHECK_FREQ and org.apache.ignite.IgniteSystemProperties#IGNITE_STARVATION_CHECK_INTERVAL. Here property and its default are defined with different properties and default is not stated in configuration.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              yzhdanov Yakov Zhdanov
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: