Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-3578

DrdaStreamOutBufferSize attribute of NetworkServerMBean should be of type int instead of String

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 10.4.1.3, 10.5.1.1
    • 10.4.1.3, 10.5.1.1
    • JMX
    • None
    • N/A

    Description

      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

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            johnemb John Embretsen
            johnemb John Embretsen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment