diff options
| author | Robert Gemmell <robbie@apache.org> | 2009-03-17 14:01:23 +0000 |
|---|---|---|
| committer | Robert Gemmell <robbie@apache.org> | 2009-03-17 14:01:23 +0000 |
| commit | 7db47b7b5af603379d67f056be5fe625f5bc71f7 (patch) | |
| tree | 00520ae936b650d60d941767a878c76b5a9f71aa | |
| parent | cd00056c7d4b5a5541a6abc46237380bfce987e6 (diff) | |
| download | qpid-python-7db47b7b5af603379d67f056be5fe625f5bc71f7.tar.gz | |
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
| -rw-r--r-- | qpid/java/broker/src/main/java/org/apache/qpid/server/queue/ManagedQueue.java | 13 |
1 files 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(); /** |
