From e9a79b81de730c2346079b2ba8501f58222ee389 Mon Sep 17 00:00:00 2001 From: Robert Gemmell Date: Thu, 1 Dec 2011 12:39:14 +0000 Subject: QPID-2243: 0-10 protocol connections do not have a matching JMX MBean to allow management. Applied patch from Andrew MacBean and Oleksandr Rudyy git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1209052 13f79535-47bb-0310-9956-ffa450edef68 --- .../common/mbeans/ManagedConnection.java | 23 +--------------------- 1 file changed, 1 insertion(+), 22 deletions(-) (limited to 'java/management') diff --git a/java/management/common/src/main/java/org/apache/qpid/management/common/mbeans/ManagedConnection.java b/java/management/common/src/main/java/org/apache/qpid/management/common/mbeans/ManagedConnection.java index d16db65d5d..c2900a3533 100644 --- a/java/management/common/src/main/java/org/apache/qpid/management/common/mbeans/ManagedConnection.java +++ b/java/management/common/src/main/java/org/apache/qpid/management/common/mbeans/ManagedConnection.java @@ -79,34 +79,13 @@ public interface ManagedConnection @MBeanAttribute(name="LastIOTime", description="The last time, the IO operation was done") Date getLastIoTime(); - /** - * Tells the total number of bytes written till now. - * @return number of bytes written. - * - @MBeanAttribute(name="WrittenBytes", description="The total number of bytes written till now") - Long getWrittenBytes(); - */ - /** - * Tells the total number of bytes read till now. - * @return number of bytes read. - * - @MBeanAttribute(name="ReadBytes", description="The total number of bytes read till now") - Long getReadBytes(); - */ - /** * Threshold high value for no of channels. This is useful in setting notifications or * taking required action is there are more channels being created. * @return threshold limit for no of channels */ - Long getMaximumNumberOfChannels(); - - /** - * Sets the threshold high value for number of channels for a connection - * @param value - */ @MBeanAttribute(name="MaximumNumberOfChannels", description="The threshold high value for number of channels for this connection") - void setMaximumNumberOfChannels(Long value); + Long getMaximumNumberOfChannels(); //********** Operations *****************// -- cgit v1.2.1