Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-3494

Inconsistent default values for max-entries and interval in model and XSD

    XMLWordPrintable

    Details

    • Type: Feature Request
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 8.0.0.Final
    • Fix Version/s: 9.0.0.Alpha1
    • Component/s: Clustering
    • Labels:
      None

      Description

          static final SimpleAttributeDefinition MAX_ENTRIES = new SimpleAttributeDefinitionBuilder(ModelKeys.MAX_ENTRIES, ModelType.INT, true)
                  .setXmlName(Attribute.MAX_ENTRIES.getLocalName())
                  .setAllowExpression(true)
                  .setFlags(AttributeAccess.Flag.RESTART_ALL_SERVICES)
                  .setDefaultValue(new ModelNode().set(-1))
                  .build()
          ;

      however

              <xs:attribute name="max-entries" type="xs:int" default="10000">
                  <xs:annotation>
                      <xs:documentation>Maximum number of entries in a cache instance. If selected value is not a power of two the actual value will default to the least power of two larger than selected value. -1 means no limit.</xs:documentation>
                  </xs:annotation>
              </xs:attribute>
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              rhusar Radoslav Husar
              Reporter:
              rhusar Radoslav Husar
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: