db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John H. Embretsen (JIRA)" <j...@apache.org>
Subject [jira] Commented: (DERBY-3578) DrdaStreamOutBufferSize attribute of NetworkServerMBean should be of type int instead of String
Date Mon, 31 Mar 2008 09:14:26 GMT

    [ https://issues.apache.org/jira/browse/DERBY-3578?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12583599#action_12583599

John H. Embretsen commented on DERBY-3578:

Yes, the javadoc comment was intentional, although I should have mentioned it here explicitly.
The comment applies to both this method (attribute) as well as other methods, and simply mentions
in the overview that granting SystemPermission may be required when using a security manager.

> DrdaStreamOutBufferSize attribute of NetworkServerMBean should be of type int instead
of String
> -----------------------------------------------------------------------------------------------
>                 Key: DERBY-3578
>                 URL: https://issues.apache.org/jira/browse/DERBY-3578
>             Project: Derby
>          Issue Type: Improvement
>          Components: JMX
>    Affects Versions:,
>         Environment: N/A
>            Reporter: John H. Embretsen
>            Assignee: John H. Embretsen
>            Priority: Minor
>             Fix For:,
>         Attachments: d3578_v01.diff
> The DrdaStreamOutBufferSize attribute of org.apache.derby.mbeans.drda.NetworkServerMBean
is currently of type String. The value of this attribute describes the size of the buffer
for streaming blob/clob from server to client (derby.drda.streamOutBufferSize property), and
is handled as an integer (int) in the DDMWriter class of the Network Server.
> The type was changed to int in the functional specification of DERBY-1387 [1], since
no reason was found for this to be a String. Similar attributes, such as DrdaMaxThreads, have
return type int. It may useful for a JMX client to know that the value should be an int instead
of just any arbitrary string; hence this change.
> [1]: https://issues.apache.org/jira/browse/DERBY-1387?focusedCommentId=12571899#action_12571899

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message