From 7db47b7b5af603379d67f056be5fe625f5bc71f7 Mon Sep 17 00:00:00 2001 From: Robert Gemmell Date: Tue, 17 Mar 2009 14:01:23 +0000 Subject: QPID-1743: change maxMessageSize description to indicate it is in Bytes not KBytes, make size descriptions in other methods consistent git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@755256 13f79535-47bb-0310-9956-ffa450edef68 --- .../java/org/apache/qpid/server/queue/ManagedQueue.java | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/qpid/java/broker/src/main/java/org/apache/qpid/server/queue/ManagedQueue.java b/qpid/java/broker/src/main/java/org/apache/qpid/server/queue/ManagedQueue.java index d2cf90b42d..53e249f210 100644 --- a/qpid/java/broker/src/main/java/org/apache/qpid/server/queue/ManagedQueue.java +++ b/qpid/java/broker/src/main/java/org/apache/qpid/server/queue/ManagedQueue.java @@ -131,7 +131,7 @@ public interface ManagedQueue void setMaximumMessageAge(Long age) throws IOException; /** - * Returns the maximum size of a message (in kbytes) allowed to be accepted by the + * Returns the maximum size of a message (in Bytes) allowed to be accepted by the * ManagedQueue. This is useful in setting notifications or taking * appropriate action, if the size of the message received is more than * the allowed size. @@ -142,12 +142,12 @@ public interface ManagedQueue Long getMaximumMessageSize() throws IOException; /** - * Sets the maximum size of the message (in kbytes) that is allowed to be + * Sets the maximum size of the message (in Bytes) that is allowed to be * accepted by the Queue. * @param size maximum size of message. * @throws IOException */ - @MBeanAttribute(name="MaximumMessageSize", description="Threshold high value(KB) for a message size") + @MBeanAttribute(name="MaximumMessageSize", description="Threshold high value(Bytes) for a message size") void setMaximumMessageSize(Long size) throws IOException; /** @@ -184,7 +184,6 @@ public interface ManagedQueue @MBeanAttribute(name="MaximumQueueDepth", description="The threshold high value(Bytes) for Queue Depth") void setMaximumQueueDepth(Long value) throws IOException; - //TODO change descriptions /** * View the limit on the memory that this queue will utilise. * @@ -201,7 +200,7 @@ public interface ManagedQueue * * @param maximumMemoryUsage The new maximum memory(B) to be used by this queue */ - @MBeanAttribute(name="MemoryUsageMaximum", description="The maximum memory(B) that the queue will occupy.") + @MBeanAttribute(name="MemoryUsageMaximum", description="The maximum memory(Bytes) that the queue will occupy.") public void setMemoryUsageMaximum(Long maximumMemoryUsage); /** @@ -220,7 +219,7 @@ public interface ManagedQueue * * @param minimumMemoryUsage The new minimum memory(B) level to be used by this queue */ - @MBeanAttribute(name="MemoryUsageMinimum", description="The minimum memory(B) that the queue will occupy.") + @MBeanAttribute(name="MemoryUsageMinimum", description="The minimum memory(Bytes) that the queue will occupy.") public void setMemoryUsageMinimum(Long minimumMemoryUsage); /** @@ -228,7 +227,7 @@ public interface ManagedQueue * * @return The current memory(B) usage of this queue. */ - @MBeanAttribute(name="MemoryUsageCurrent", description="The current amount of memory(B) used by this queue.") + @MBeanAttribute(name="MemoryUsageCurrent", description="The current amount of memory(Bytes) used by this queue.") public Long getMemoryUsageCurrent(); /** -- cgit v1.2.1