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

leonchen83 / redis-replicator / #2282

08 Jun 2025 11:05AM UTC coverage: 72.222% (+0.03%) from 72.192%
#2282

push

leonchen83
redis-8.0

10 of 20 new or added lines in 1 file covered. (50.0%)

7163 of 9918 relevant lines covered (72.22%)

0.72 hits per line

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

50.0
/src/main/java/com/moilioncircle/redis/replicator/cmd/impl/HPExpireAtCommand.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

21
/**
22
 * @author Leon Chen
23
 * @since 3.9.0
24
 */
25
@CommandSpec(command = "HPEXPIREAT")
26
public class HPExpireAtCommand extends GenericKeyCommand {
27
    
28
    private static final long serialVersionUID = 1L;
29
    
30
    private long ex;
31
    
32
    private byte[][] fields;
33
    
34
    private ExistType existType;
35
    
36
    private CompareType compareType;
37
    
NEW
38
    public HPExpireAtCommand() {
×
NEW
39
    }
×
40
    
41
    public HPExpireAtCommand(byte[] key, byte[][] fields, long ex, ExistType existType, CompareType compareType) {
42
        super(key);
1✔
43
        this.fields = fields;
1✔
44
        this.ex = ex;
1✔
45
        this.existType = existType;
1✔
46
        this.compareType = compareType;
1✔
47
    }
1✔
48
    
49
    public long getEx() {
50
        return ex;
1✔
51
    }
52
    
53
    public void setEx(long ex) {
NEW
54
        this.ex = ex;
×
NEW
55
    }
×
56
    
57
    public byte[][] getFields() {
58
        return fields;
1✔
59
    }
60
    
61
    public void setFields(byte[][] fields) {
NEW
62
        this.fields = fields;
×
NEW
63
    }
×
64
    
65
    public ExistType getExistType() {
66
        return existType;
1✔
67
    }
68
    
69
    public void setExistType(ExistType existType) {
NEW
70
        this.existType = existType;
×
NEW
71
    }
×
72
    
73
    public CompareType getCompareType() {
74
        return compareType;
1✔
75
    }
76
    
77
    public void setCompareType(CompareType compareType) {
NEW
78
        this.compareType = compareType;
×
NEW
79
    }
×
80
}
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