/[projects]/miscJava/CircuitBreaker/src/main/java/dk/thoerup/circuitbreaker/statistics/NullStatistics.java
ViewVC logotype

Annotation of /miscJava/CircuitBreaker/src/main/java/dk/thoerup/circuitbreaker/statistics/NullStatistics.java

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2569 - (hide annotations) (download)
Tue Jun 9 08:55:10 2015 UTC (9 years ago) by torben
File size: 228 byte(s)
Statistics should be added by composition instead of inheritance
1 torben 2569 package dk.thoerup.circuitbreaker.statistics;
2    
3     import dk.thoerup.circuitbreaker.Event;
4    
5     public class NullStatistics implements Statistics {
6    
7     @Override
8     public void addStatistics(Event event) {
9     // do nothing
10     }
11    
12     }

  ViewVC Help
Powered by ViewVC 1.1.20