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

leonchen83 / redis-replicator / #2268

08 Jun 2025 10:34AM UTC coverage: 71.499% (-0.6%) from 72.148%
#2268

push

leonchen83
redis-8.0

0 of 87 new or added lines in 3 files covered. (0.0%)

3 existing lines in 2 files now uncovered.

7092 of 9919 relevant lines covered (71.5%)

0.71 hits per line

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

0.0
/src/main/java/com/moilioncircle/redis/replicator/cmd/impl/HSetExCommand.java
1
/*
2
 * Copyright 2016-2017 Leon Chen
3
 *
4
 * Licensed under the Apache License, Version 2.0 (the "License");
5
 * you may not use this file except in compliance with the License.
6
 * You may obtain a copy of the License at
7
 *
8
 *     http://www.apache.org/licenses/LICENSE-2.0
9
 *
10
 * Unless required by applicable law or agreed to in writing, software
11
 * distributed under the License is distributed on an "AS IS" BASIS,
12
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
 * See the License for the specific language governing permissions and
14
 * limitations under the License.
15
 */
16

17
package com.moilioncircle.redis.replicator.cmd.impl;
18

19
import com.moilioncircle.redis.replicator.cmd.CommandSpec;
20
import com.moilioncircle.redis.replicator.rdb.datatype.ExpiredType;
21

22
/**
23
 * @author Leon Chen
24
 * @since 3.9.0
25
 */
26
@CommandSpec(command = "HSETEX")
27
public class HSetExCommand extends GenericKeyCommand {
28
    
29
    private static final long serialVersionUID = 1L;
30
    
31
    private boolean keepTtl;
32
    private ExpiredType expiredType;
33
    private Long expiredValue;
34
    private XATType xatType;
35
    private Long xatValue;
36
    private FieldExistType existType;
37
    
38
    private byte[][] fields;
39
    private byte[][] values;
40
    
NEW
41
    public HSetExCommand() {
×
NEW
42
    }
×
43
    
44
    public HSetExCommand(byte[] key, byte[][] fields, byte[][] values, boolean keepTtl, ExpiredType expiredType, Long expiredValue, XATType xatType, Long xatValue, FieldExistType existType) {
NEW
45
        super(key);
×
NEW
46
        this.fields = fields;
×
NEW
47
        this.values = values;
×
NEW
48
        this.keepTtl = keepTtl;
×
NEW
49
        this.expiredType = expiredType;
×
NEW
50
        this.expiredValue = expiredValue;
×
NEW
51
        this.xatType = xatType;
×
NEW
52
        this.xatValue = xatValue;
×
NEW
53
        this.existType = existType;
×
NEW
54
    }
×
55
    
56
    public boolean getKeepTtl() {
NEW
57
        return keepTtl;
×
58
    }
59
    
60
    public void setKeepTtl(boolean keepTtl) {
NEW
61
        this.keepTtl = keepTtl;
×
NEW
62
    }
×
63
    
64
    public ExpiredType getExpiredType() {
NEW
65
        return expiredType;
×
66
    }
67
    
68
    public void setExpiredType(ExpiredType expiredType) {
NEW
69
        this.expiredType = expiredType;
×
NEW
70
    }
×
71
    
72
    public Long getExpiredValue() {
NEW
73
        return expiredValue;
×
74
    }
75
    
76
    public void setExpiredValue(Long expiredValue) {
NEW
77
        this.expiredValue = expiredValue;
×
NEW
78
    }
×
79
    
80
    public FieldExistType getExistType() {
NEW
81
        return existType;
×
82
    }
83
    
84
    public void setExistType(FieldExistType existType) {
NEW
85
        this.existType = existType;
×
NEW
86
    }
×
87
    
88
    public XATType getXatType() {
NEW
89
        return xatType;
×
90
    }
91
    
92
    public void setXatType(XATType xatType) {
NEW
93
        this.xatType = xatType;
×
NEW
94
    }
×
95
    
96
    public Long getXatValue() {
NEW
97
        return xatValue;
×
98
    }
99
    
100
    public void setXatValue(Long xatValue) {
NEW
101
        this.xatValue = xatValue;
×
NEW
102
    }
×
103
    
104
    public byte[][] getFields() {
NEW
105
        return fields;
×
106
    }
107
    
108
    public void setFields(byte[][] fields) {
NEW
109
        this.fields = fields;
×
NEW
110
    }
×
111
    
112
    public byte[][] getValues() {
NEW
113
        return values;
×
114
    }
115
    
116
    public void setValues(byte[][] values) {
NEW
117
        this.values = values;
×
NEW
118
    }
×
119
}
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