I am using the TIBCO EMS Java API to get inbound/outbound byte rates and message rates for TopicInfo and QueueInfo.
I am using functions defined in DestinationInfo: getInboundStatistics and getOutboundStatistics. These return a value of type StatData:
As it is, if there are no messages, these rates are returning -1. I was expecting that byte/message rates would both be 0. Does anyone have any idea why -1 is returned instead?
I'm assuming that this is to differentiate having no messages and having rate collection turned off, but there doesn't seem to be documentations indicating the reason for the -1.