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

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

    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

        1. d3578_v01.diff
          3 kB
          John Embretsen
        2. d3578_v01a.diff
          3 kB
          Kristian Waagan

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: