Coverage Report - org.dozer.jmx.DozerStatisticsControllerMBean
 
Classes in this File Line Coverage Branch Coverage Complexity
DozerStatisticsControllerMBean
N/A
N/A
1
 
 1  
 /**
 2  
  * Copyright 2005-2013 Dozer Project
 3  
  *
 4  
  * Licensed under the Apache License, Version 2.0 (the "License");
 5  
  * you may not use this file except in compliance with the License.
 6  
  * You may obtain a copy of the License at
 7  
  *
 8  
  *      http://www.apache.org/licenses/LICENSE-2.0
 9  
  *
 10  
  * Unless required by applicable law or agreed to in writing, software
 11  
  * distributed under the License is distributed on an "AS IS" BASIS,
 12  
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 13  
  * See the License for the specific language governing permissions and
 14  
  * limitations under the License.
 15  
  */
 16  
 package org.dozer.jmx;
 17  
 
 18  
 import java.util.Set;
 19  
 
 20  
 /**
 21  
  * Public Dozer JMX Bean interface
 22  
  * 
 23  
  * @author tierney.matt
 24  
  */
 25  
 public interface DozerStatisticsControllerMBean {
 26  
   public double getMappingAverageTimeInMillis();
 27  
   public long getMappingSuccessCount();
 28  
   public long getMappingFailureCount();
 29  
   public Set<String> getMappingFailureExceptionTypes();
 30  
   public Set<String> getMappingFailureTypes();
 31  
   public long getMappingOverallTimeInMillis();
 32  
   public Set<String> getCacheHitCount();
 33  
   public Set<String> getCacheMissCount();
 34  
   public long getMapperInstancesCount();
 35  
   public long getFieldMappingSuccessCount();
 36  
   public long getFieldMappingFailureCount();
 37  
   public long getFieldMappingFailureIgnoredCount();
 38  
   public long getCustomConverterOverallTimeInMillis();
 39  
   public long getCustomConverterSuccessCount();
 40  
   public double getCustomConverterPercentageOfMappingTime();
 41  
   public double getCustomConverterAverageTimeInMillis();
 42  
   public String dumpStatistics();
 43  
   public void clearAll();
 44  
   public boolean isStatisticsEnabled();
 45  
   public void setStatisticsEnabled(boolean statisticsEnabled);
 46  
   public void logStatistics();
 47  
 }