442443444445446447448449
public DestinationMonitor(Destination dest) { d = dest; } public Integer getAvgNumActiveConsumers() { DestMetricsCounters dmc = d.getMetrics(); return (new Integer(dmc.getAvgActiveConsumers())); }
447448449450451452453454
DestMetricsCounters dmc = d.getMetrics(); return (new Integer(dmc.getAvgActiveConsumers())); } public Integer getAvgNumBackupConsumers() { DestMetricsCounters dmc = d.getMetrics(); return (new Integer(dmc.getAvgFailoverConsumers())); }
452453454455456457458459
DestMetricsCounters dmc = d.getMetrics(); return (new Integer(dmc.getAvgFailoverConsumers())); } public Integer getAvgNumConsumers() { DestMetricsCounters dmc = d.getMetrics(); return (new Integer(dmc.getAvgActiveConsumers())); }
457458459460461462463464
DestMetricsCounters dmc = d.getMetrics(); return (new Integer(dmc.getAvgActiveConsumers())); } public Long getAvgNumMsgs() { DestMetricsCounters dmc = d.getMetrics(); return (new Long(dmc.getAverageMessages())); }
462463464465466467468469
DestMetricsCounters dmc = d.getMetrics(); return (new Long(dmc.getAverageMessages())); } public Long getAvgTotalMsgBytes() { DestMetricsCounters dmc = d.getMetrics(); return (new Long(dmc.getAverageMessageBytes())); }
493494495496497498499500
public Boolean getCreatedByAdmin() { return (isCreatedByAdmin()); } public Long getDiskReserved() { DestMetricsCounters dmc = d.getMetrics(); return (new Long(dmc.getDiskReserved())); }
498499500501502503504505
DestMetricsCounters dmc = d.getMetrics(); return (new Long(dmc.getDiskReserved())); } public Long getDiskUsed() { DestMetricsCounters dmc = d.getMetrics(); return (new Long(dmc.getDiskUsed())); }
503504505506507508509510
DestMetricsCounters dmc = d.getMetrics(); return (new Long(dmc.getDiskUsed())); } public Integer getDiskUtilizationRatio() { DestMetricsCounters dmc = d.getMetrics(); return (new Integer(dmc.getDiskUtilizationRatio())); }
508509510511512513514515
DestMetricsCounters dmc = d.getMetrics(); return (new Integer(dmc.getDiskUtilizationRatio())); } public Long getMsgBytesIn() { DestMetricsCounters dmc = d.getMetrics(); return (new Long(dmc.getMessageBytesIn())); }
513514515516517518519520
DestMetricsCounters dmc = d.getMetrics(); return (new Long(dmc.getMessageBytesIn())); } public Long getMsgBytesOut() { DestMetricsCounters dmc = d.getMetrics(); return (new Long(dmc.getMessageBytesOut())); }