• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

alibaba / jetcache / #405

16 Apr 2024 05:58AM UTC coverage: 0.0% (-88.9%) from 88.866%
#405

push

areyouok
add encoding to fix coverage report

0 of 5353 relevant lines covered (0.0%)

0.0 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/jetcache-anno/src/main/java/com/alicp/jetcache/anno/support/GlobalCacheConfig.java
1
/**
2
 * Created on  13-09-09 17:29
3
 */
4
package com.alicp.jetcache.anno.support;
5

6
import com.alicp.jetcache.CacheBuilder;
7

8
import java.util.Map;
9

10
/**
11
 * @author huangli
12
 */
13
public class GlobalCacheConfig {
14

15
    private String[] hiddenPackages;
16
    protected int statIntervalMinutes;
17
    /**
18
     * for compatible reason. This property controls whether add area as remote cache key prefix.
19
     * version<=2.4.3: add cache area in prefix, no config.
20
     * version>2.4.3 and version <2.7: default value is true, keep same as 2.4.3 if not set.
21
     * version>=2.7.0.RC: default value is false.
22
     *
23
     * remove in the future.
24
     */
25
    @Deprecated
×
26
    private boolean areaInCacheName = false;
27
    private boolean penetrationProtect = false;
×
28
    private boolean enableMethodCache = true;
×
29

30
    private Map<String, CacheBuilder> localCacheBuilders;
31
    private Map<String, CacheBuilder> remoteCacheBuilders;
32

33
    public GlobalCacheConfig() {
×
34
    }
×
35

36
    public String[] getHiddenPackages() {
37
        return hiddenPackages;
×
38
    }
39

40
    public void setHiddenPackages(String[] hiddenPackages) {
41
        this.hiddenPackages = hiddenPackages;
×
42
    }
×
43

44
    public Map<String, CacheBuilder> getLocalCacheBuilders() {
45
        return localCacheBuilders;
×
46
    }
47

48
    public void setLocalCacheBuilders(Map<String, CacheBuilder> localCacheBuilders) {
49
        this.localCacheBuilders = localCacheBuilders;
×
50
    }
×
51

52
    public Map<String, CacheBuilder> getRemoteCacheBuilders() {
53
        return remoteCacheBuilders;
×
54
    }
55

56
    public void setRemoteCacheBuilders(Map<String, CacheBuilder> remoteCacheBuilders) {
57
        this.remoteCacheBuilders = remoteCacheBuilders;
×
58
    }
×
59

60
    public int getStatIntervalMinutes() {
61
        return statIntervalMinutes;
×
62
    }
63

64
    public void setStatIntervalMinutes(int statIntervalMinutes) {
65
        this.statIntervalMinutes = statIntervalMinutes;
×
66
    }
×
67

68
    /**
69
     * for compatible reason. This property controls whether add area as remote cache key prefix.
70
     * version<=2.4.3: add cache area in prefix, no config.
71
     * version>2.4.3 and version <2.7: default value is true, keep same as 2.4.3 if not set.
72
     * version>=2.7.0.RC: default value is false.
73
     *
74
     * remove in the future.
75
     */
76
    @Deprecated
77
    public boolean isAreaInCacheName() {
78
        return areaInCacheName;
×
79
    }
80

81
    /**
82
     * for compatible reason. This property controls whether add area as remote cache key prefix.
83
     * version<=2.4.3: add cache area in prefix, no config.
84
     * version>2.4.3 and version <2.7: default value is true, keep same as 2.4.3 if not set.
85
     * version>=2.7.0.RC: default value is false.
86
     *
87
     * remove in the future.
88
     */
89
    @Deprecated
90
    public void setAreaInCacheName(boolean areaInCacheName) {
91
        this.areaInCacheName = areaInCacheName;
×
92
    }
×
93

94
    public boolean isPenetrationProtect() {
95
        return penetrationProtect;
×
96
    }
97

98
    public void setPenetrationProtect(boolean penetrationProtect) {
99
        this.penetrationProtect = penetrationProtect;
×
100
    }
×
101

102
    public boolean isEnableMethodCache() {
103
        return enableMethodCache;
×
104
    }
105

106
    public void setEnableMethodCache(boolean enableMethodCache) {
107
        this.enableMethodCache = enableMethodCache;
×
108
    }
×
109
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc