1 10 11 package org.mule.management.mbeans; 12 13 import java.util.Map ; 14 15 import org.mule.management.stats.RouterStatistics; 16 17 23 public class RouterStats implements RouterStatsMBean 24 { 25 26 private RouterStatistics statistics; 27 28 public RouterStats(RouterStatistics statistics) 29 { 30 this.statistics = statistics; 31 } 32 33 38 public long getCaughtMessages() 39 { 40 return statistics.getCaughtMessages(); 41 } 42 43 48 public long getNotRouted() 49 { 50 return statistics.getNotRouted(); 51 } 52 53 58 public long getTotalReceived() 59 { 60 return statistics.getTotalReceived(); 61 } 62 63 68 public long getTotalRouted() 69 { 70 return statistics.getTotalRouted(); 71 } 72 73 78 public Map getRouted() 79 { 80 return statistics.getRouted(); 81 } 82 83 } 84 | Popular Tags |