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

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


Bela Ban created JGRP-2457:
------------------------------

             Summary: 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
             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}}
* {{time=45000}} -> {{time=45s}} 
* {{avg_delivery_time=250.09us}} (note the suffix)



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


More information about the jboss-jira mailing list