[jboss-jira] [JBoss JIRA] (JGRP-2457) Make time and byte values more legible

Bela Ban (Jira) issues at jboss.org
Thu Feb 27 06:48:00 EST 2020


     [ https://issues.redhat.com/browse/JGRP-2457?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bela Ban updated JGRP-2457:
---------------------------
    Description: 
In an XML configuration, we can already define {{send_buf_size=20M}}, but when printing protocol attribute values, we'll print {{20000000}} instead.
Change this to print time and bytes values in a more readable format, for all protocol attributes.
Examples: 
* {{max_credits=3000000}} -> {{max_credits=3m}}  // bytes
* {{time=45000}} -> {{time=45s}}  // time
* {{avg_delivery_time=250.09us}} (note the suffix) // time
* {{number_of_blockings=234986}} -> {{number_of_blockings=234'986}} // scalar

  was:
In an XML configuration, we can already define {{send_buf_size=20M}}, but when printing protocol attribute values, we'll print {{20000000}} instead.
Change this to print time and bytes values in a more readable format, for all protocol attributes.
Examples: 
* {{max_credits=3000000}} -> {{max_credits=3m}}
* {{time=45000}} -> {{time=45s}} 
* {{avg_delivery_time=250.09us}} (note the suffix)



> Make time and byte values more legible
> --------------------------------------
>
>                 Key: JGRP-2457
>                 URL: https://issues.redhat.com/browse/JGRP-2457
>             Project: JGroups
>          Issue Type: Enhancement
>            Reporter: Bela Ban
>            Assignee: Bela Ban
>            Priority: Minor
>             Fix For: 5.0
>
>
> In an XML configuration, we can already define {{send_buf_size=20M}}, but when printing protocol attribute values, we'll print {{20000000}} instead.
> Change this to print time and bytes values in a more readable format, for all protocol attributes.
> Examples: 
> * {{max_credits=3000000}} -> {{max_credits=3m}}  // bytes
> * {{time=45000}} -> {{time=45s}}  // time
> * {{avg_delivery_time=250.09us}} (note the suffix) // time
> * {{number_of_blockings=234986}} -> {{number_of_blockings=234'986}} // scalar



--
This message was sent by Atlassian Jira
(v7.13.8#713008)


More information about the jboss-jira mailing list