##### Coverage Report - com.ctrip.apollo.cat.NullClientConfigManager

Classes in this File | Line Coverage | Branch Coverage | Complexity
NullClientConfigManager |
0% | 0/10
N/A | N/A
| 1.0;1

1 |  |
     package com.ctrip.apollo.cat;
2 |  |
3 |  |
     import java.io.File;
4 |  |
     import java.util.List;
5 |  |
6 |  |
     import com.dianping.cat.configuration.ClientConfigManager;
7 |  |
     import com.dianping.cat.configuration.client.entity.Domain;
8 |  |
     import com.dianping.cat.configuration.client.entity.Server;
9 |  |
10 | 0 |
     public class NullClientConfigManager implements ClientConfigManager{
11 |  |
12 |  |
       @Override
13 |  |
       public Domain getDomain() {
14 | 0 |
         return null;
15 |  |
       }
16 |  |
17 |  |
       @Override
18 |  |
       public int getMaxMessageLength() {
19 | 0 |
         return 0;
20 |  |
       }
21 |  |
22 |  |
       @Override
23 |  |
       public String getServerConfigUrl() {
24 | 0 |
         return null;
25 |  |
       }
26 |  |
27 |  |
       @Override
28 |  |
       public List<Server> getServers() {
29 | 0 |
         return null;
30 |  |
       }
31 |  |
32 |  |
       @Override
33 |  |
       public int getTaggedTransactionCacheSize() {
34 | 0 |
         return 0;
35 |  |
       }
36 |  |
37 |  |
       @Override
38 |  |
       public void initialize(File configFile) throws Exception {
39 |  |
40 | 0 |
       }
41 |  |
42 |  |
       @Override
43 |  |
       public boolean isCatEnabled() {
44 | 0 |
         return false;
45 |  |
       }
46 |  |
47 |  |
       @Override
48 |  |
       public boolean isDumpLocked() {
49 | 0 |
         return false;
50 |  |
       }
51 |  |
52 |  |
       @Override
53 |  |
       public int getQueueSize() {
54 | 0 |
         return 0;
55 |  |
       }
56 |  |
57 |  |
     }