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

leonchen83 / redis-replicator / #2249

08 Jun 2025 09:48AM UTC coverage: 71.957% (-0.2%) from 72.152%
#2249

push

leonchen83
redis-8.0

86 of 136 new or added lines in 11 files covered. (63.24%)

8 existing lines in 4 files now uncovered.

7059 of 9810 relevant lines covered (71.96%)

0.72 hits per line

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

55.56
/src/main/java/com/moilioncircle/redis/replicator/cmd/impl/ExpireAtCommand.java
1
/*
2
 * Copyright 2016-2018 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 2.1.0
24
 */
25
@CommandSpec(command = "EXPIREAT")
26
public class ExpireAtCommand extends GenericKeyCommand {
27

28
    private static final long serialVersionUID = 1L;
29

30
    private long ex;
31
    
32
    private ExistType existType;
33
    
34
    private CompareType compareType;
35

36
    public ExpireAtCommand() {
×
37
    }
×
38

39
    public ExpireAtCommand(byte[] key, long ex) {
40
        super(key);
1✔
41
        this.ex = ex;
1✔
42
    }
1✔
43
    
44
    public ExpireAtCommand(byte[] key, long ex, ExistType existType, CompareType compareType) {
45
        this(key, ex);
1✔
46
        this.existType = existType;
1✔
47
        this.compareType = compareType;
1✔
48
    }
1✔
49

50
    public long getEx() {
51
        return ex;
1✔
52
    }
53

54
    public void setEx(long ex) {
55
        this.ex = ex;
×
56
    }
×
57
    
58
    public ExistType getExistType() {
59
        return existType;
1✔
60
    }
61
    
62
    public void setExistType(ExistType existType) {
NEW
63
        this.existType = existType;
×
NEW
64
    }
×
65
    
66
    public CompareType getCompareType() {
67
        return compareType;
1✔
68
    }
69
    
70
    public void setCompareType(CompareType compareType) {
NEW
71
        this.compareType = compareType;
×
NEW
72
    }
×
73
}
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