Coverage Report - org.mule.module.management.mbean.RouterStats
 
Classes in this File Line Coverage Branch Coverage Complexity
RouterStats
0%
0/8
N/A
1
 
 1  
 /*
 2  
  * $Id: RouterStats.java 19191 2010-08-25 21:05:23Z tcarlson $
 3  
  * --------------------------------------------------------------------------------------
 4  
  * Copyright (c) MuleSoft, Inc.  All rights reserved.  http://www.mulesoft.com
 5  
  *
 6  
  * The software in this package is published under the terms of the CPAL v1.0
 7  
  * license, a copy of which has been included with this distribution in the
 8  
  * LICENSE.txt file.
 9  
  */
 10  
 
 11  
 package org.mule.module.management.mbean;
 12  
 
 13  
 import org.mule.management.stats.RouterStatistics;
 14  
 
 15  
 import java.util.Map;
 16  
 
 17  
 /**
 18  
  * <code>RouterStats</code> TODO
 19  
  */
 20  
 public class RouterStats implements RouterStatsMBean
 21  
 {
 22  
 
 23  
     private RouterStatistics statistics;
 24  
 
 25  
     public RouterStats(RouterStatistics statistics)
 26  0
     {
 27  0
         this.statistics = statistics;
 28  0
     }
 29  
 
 30  
     public long getCaughtMessages()
 31  
     {
 32  0
         return statistics.getCaughtMessages();
 33  
     }
 34  
 
 35  
     public long getNotRouted()
 36  
     {
 37  0
         return statistics.getNotRouted();
 38  
     }
 39  
 
 40  
     public long getTotalReceived()
 41  
     {
 42  0
         return statistics.getTotalReceived();
 43  
     }
 44  
 
 45  
     public long getTotalRouted()
 46  
     {
 47  0
         return statistics.getTotalRouted();
 48  
     }
 49  
 
 50  
     public Map getRouted()
 51  
     {
 52  0
         return statistics.getRouted();
 53  
     }
 54  
 
 55  
 }