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

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 10.4.1.3, 10.5.1.1
    • Fix Version/s: 10.4.1.3, 10.5.1.1
    • Component/s: JMX
    • Labels:
      None
    • Environment:
      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

            People

            • Assignee:
              johnemb John Embretsen
              Reporter:
              johnemb John Embretsen

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment