[
https://issues.apache.org/jira/browse/QPID-5579?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13918236#comment-13918236
]
Robbie Gemmell commented on QPID-5579:
--------------------------------------
https://svn.apache.org/r1571510
===============================
- Not used or properly implemented, appear to duplicate other existing
attributes (I think I may have already said basically the same thing on another
JIRA - planning a rename? :)).
{noformat}
@@ -176,4 +133,62 @@ public interface Queue<X extends Queue<X>> extends
ConfiguredObject<X>
void delete();
void setNotificationListener(QueueNotificationListener listener);
+
+ @ManagedStatistic
+ long getBytesIn();
+
+ @ManagedStatistic
+ long getBytesOut();
+
+ @ManagedStatistic
+ long getMessagesIn();
+
+ @ManagedStatistic
+ long getMessagesOut();
{noformat}
- Planned change from boolean to int? (I'm assuming yes, for 1.0)
{noformat}
+ @Override
+ public int getLocalTransactionOpen()
+ {
+ long open = _session.getTxnStart() - (_session.getTxnCommits() +
_session.getTxnRejects());
+ return (open > 0l) ? 1 : 0;
+ }
{noformat}
> [Java Broker] Build attribute meta data in the same way for REST API and for
> AMQP Management
> --------------------------------------------------------------------------------------------
>
> Key: QPID-5579
> URL: https://issues.apache.org/jira/browse/QPID-5579
> Project: Qpid
> Issue Type: Sub-task
> Components: Java Broker
> Reporter: Rob Godfrey
> Assignee: Robbie Gemmell
> Fix For: 0.27
>
>
--
This message was sent by Atlassian JIRA
(v6.2#6252)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]