• 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/method/CacheInvokeContext.java
1
/**
2
 * Created on  13-10-02 16:10
3
 */
4
package com.alicp.jetcache.anno.method;
5

6
import com.alicp.jetcache.Cache;
7
import com.alicp.jetcache.anno.support.CacheAnnoConfig;
8

9
import java.lang.reflect.Method;
10
import java.util.function.BiFunction;
11
import java.util.function.Function;
12

13
/**
14
 * @author huangli
15
 */
16
public class CacheInvokeContext {
17
    private Invoker invoker;
18
    private Method method;
19
    private Object[] args;
20
    private CacheInvokeConfig cacheInvokeConfig;
21
    private Object targetObject;
22
    private Object result;
23

24
    private BiFunction<CacheInvokeContext, CacheAnnoConfig, Cache> cacheFunction;
25
    private String[] hiddenPackages;
26

27
    public CacheInvokeContext(){
×
28
    }
×
29

30

31
    public void setInvoker(Invoker invoker) {
32
        this.invoker = invoker;
×
33
    }
×
34

35
    public Invoker getInvoker() {
36
        return invoker;
×
37
    }
38

39
    public Method getMethod() {
40
        return method;
×
41
    }
42

43
    public void setMethod(Method method) {
44
        this.method = method;
×
45
    }
×
46

47
    public void setArgs(Object[] args) {
48
        this.args = args;
×
49
    }
×
50

51
    public void setCacheInvokeConfig(CacheInvokeConfig cacheInvokeConfig) {
52
        this.cacheInvokeConfig = cacheInvokeConfig;
×
53
    }
×
54

55
    public CacheInvokeConfig getCacheInvokeConfig() {
56
        return cacheInvokeConfig;
×
57
    }
58

59
    public void setHiddenPackages(String[] hiddenPackages) {
60
        this.hiddenPackages = hiddenPackages;
×
61
    }
×
62

63
    public String[] getHiddenPackages() {
64
        return hiddenPackages;
×
65
    }
66

67
    public void setCacheFunction(BiFunction<CacheInvokeContext, CacheAnnoConfig, Cache> cacheFunction) {
68
        this.cacheFunction = cacheFunction;
×
69
    }
×
70

71
    public BiFunction<CacheInvokeContext, CacheAnnoConfig, Cache> getCacheFunction() {
72
        return cacheFunction;
×
73
    }
74

75
    public Object[] getArgs() {
76
        return args;
×
77
    }
78

79
    public Object getTargetObject() {
80
        return targetObject;
×
81
    }
82

83
    public void setTargetObject(Object targetObject) {
84
        this.targetObject = targetObject;
×
85
    }
×
86

87
    public Object getResult() {
88
        return result;
×
89
    }
90

91
    public void setResult(Object result) {
92
        this.result = result;
×
93
    }
×
94
}
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