/
zj
2025-05-02 9102aa7e0b42ce5b9667fa3b67fede889df60fc0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
package project.redis.interal;
 
import java.io.Serializable;
 
public class AsynItem implements Serializable {
    private static final long serialVersionUID = -6863297417530461916L;
 
    public final static String TYPE_MAP = "MAP_CACHE";
 
    public final static String TYPE_QUEUE = "QUEUE_CACHE";
 
    private String key;
 
    private Object object;
 
    private String type;
 
    public AsynItem() {
 
    }
 
    public AsynItem(String key, Object object, String type) {
        this.key = key;
        this.object = object;
        this.type = type;
    }
 
    public String getKey() {
        return key;
    }
 
    public void setKey(String key) {
        this.key = key;
    }
 
    public Object getObject() {
        return object;
    }
 
    public void setObject(Object object) {
        this.object = object;
    }
 
    public String getType() {
        return type;
    }
 
    public void setType(String type) {
        this.type = type;
    }
 
}