[
https://issues.jboss.org/browse/ISPN-749?page=com.atlassian.jira.plugin.s...
]
Galder Zamarreño commented on ISPN-749:
---------------------------------------
Overall, the total amount of data read by the server, you could override handleUpstream()
or messageReceived(), and count the number of bytes in the received buffer:
@Override
public void messageReceived(ctx, evt) {
receivedBytes += ((ChannelBuffer)
evt.getMessage()).readableBytes();
super.messageReceived(ctx, evt);
}
For the writing part, WriteCompletionEvent and writeComplete() in decoder could do the
job.
Infinispan servers should expose some stats over JMX
----------------------------------------------------
Key: ISPN-749
URL:
https://issues.jboss.org/browse/ISPN-749
Project: Infinispan
Issue Type: Feature Request
Components: Cache Server, JMX, reporting and management
Reporter: Galder Zamarreño
Assignee: Galder Zamarreño
Fix For: 5.0.0.CR1, 5.0.0.FINAL
Infinispan servers should expose some stats of their own, such as: amount of data read,
amount of data written back to clients...etc.
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira