/[projects]/miscJava/CircuitBreaker/src/main/java/dk/thoerup/circuitbreaker/statistics/NullStatistics.java |
Parent Directory | Revision Log
Statistics should be added by composition instead of inheritance
1 | 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 |