1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19 package org.apache.hadoop.hbase.regionserver.wal;
20
21 import java.io.IOException;
22 import java.util.List;
23 import java.util.UUID;
24
25 import org.apache.hadoop.hbase.TableName;
26 import org.apache.hadoop.hbase.classification.InterfaceAudience;
27 import org.apache.hadoop.hbase.regionserver.MultiVersionConcurrencyControl;
28
29
30
31
32 @InterfaceAudience.Private
33 public class ReplayHLogKey extends HLogKey {
34
35 public ReplayHLogKey(final byte [] encodedRegionName, final TableName tablename,
36 final long now, List<UUID> clusterIds, long nonceGroup, long nonce,
37 MultiVersionConcurrencyControl mvcc) {
38 super(encodedRegionName, tablename, now, clusterIds, nonceGroup, nonce, mvcc);
39 }
40
41 public ReplayHLogKey(final byte [] encodedRegionName, final TableName tablename,
42 long logSeqNum, final long now, List<UUID> clusterIds, long nonceGroup, long nonce,
43 MultiVersionConcurrencyControl mvcc) {
44 super(encodedRegionName, tablename, logSeqNum, now, clusterIds, nonceGroup, nonce, mvcc);
45 }
46
47
48
49
50
51 @Override
52 public long getSequenceId() throws IOException {
53 return this.getOrigLogSeqNum();
54 }
55 }