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

leonchen83 / redis-replicator / #2561

11 Oct 2025 04:54AM UTC coverage: 72.201% (+0.04%) from 72.164%
#2561

push

chenby
redis-8.2

60 of 78 new or added lines in 5 files covered. (76.92%)

7241 of 10029 relevant lines covered (72.2%)

0.72 hits per line

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

53.85
/src/main/java/com/moilioncircle/redis/replicator/cmd/impl/XDelExCommand.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 Baoyi Chen
23
 * @since 3.10.0
24
 */
25
@CommandSpec(command = "XDELEX")
26
public class XDelExCommand extends GenericKeyCommand {
27
    private static final long serialVersionUID = 1L;
28
    
29
    private byte[][] ids;
30
    private DeletionPolicy policy;
31
    
NEW
32
    public XDelExCommand() {
×
NEW
33
    }
×
34
    
35
    public XDelExCommand(byte[] key, DeletionPolicy policy, byte[][] ids) {
36
        super(key);
1✔
37
        this.ids = ids;
1✔
38
        this.policy = policy;
1✔
39
        this.ids = ids;
1✔
40
    }
1✔
41
    
42
    public byte[][] getIds() {
43
        return ids;
1✔
44
    }
45
    
46
    public void setIds(byte[][] ids) {
NEW
47
        this.ids = ids;
×
NEW
48
    }
×
49
    
50
    public DeletionPolicy getPolicy() {
51
        return policy;
1✔
52
    }
53
    
54
    public void setPolicy(DeletionPolicy policy) {
NEW
55
        this.policy = policy;
×
NEW
56
    }
×
57
}
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