[jboss-jira] [JBoss JIRA] (WFLY-3494) Inconsistent default values for eviction configuration max-entries in model and XSD
Radoslav Husar (JIRA)
issues at jboss.org
Fri Jun 13 11:21:38 EDT 2014
[ https://issues.jboss.org/browse/WFLY-3494?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12976091#comment-12976091 ]
Radoslav Husar commented on WFLY-3494:
--------------------------------------
Same for ExpirationResourceDefinition.INTERVAL
> Inconsistent default values for eviction configuration max-entries in model and XSD
> -----------------------------------------------------------------------------------
>
> Key: WFLY-3494
> URL: https://issues.jboss.org/browse/WFLY-3494
> Project: WildFly
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: Clustering
> Affects Versions: 8.0.0.Final
> Reporter: Radoslav Husar
> Assignee: Radoslav Husar
> Fix For: 9.0.0.CR1
>
>
> {code}
> 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()
> ;{code}
> however
> {code}
> <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>
> {code}
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
More information about the jboss-jira
mailing list