@InterfaceAudience.Private public class ReplayHLogKey extends HLogKey
WALKey.Version
clusterIds, compressionContext, encodedRegionName, logSeqNum, NO_SEQUENCE_ID, tablename, VERSION, writeTime
Constructor and Description |
---|
ReplayHLogKey(byte[] encodedRegionName,
TableName tablename,
long now,
List<UUID> clusterIds,
long nonceGroup,
long nonce) |
ReplayHLogKey(byte[] encodedRegionName,
TableName tablename,
long logSeqNum,
long now,
List<UUID> clusterIds,
long nonceGroup,
long nonce) |
Modifier and Type | Method and Description |
---|---|
long |
getSequenceId()
Returns the original sequence id
|
readFields, write
addClusterId, compareTo, equals, getBuilder, getClusterIds, getEncodedRegionName, getLogSeqNum, getNonce, getNonceGroup, getOriginatingClusterId, getOrigLogSeqNum, getScopes, getSequenceId, getTablename, getWriteTime, hashCode, init, readFieldsFromPb, readOlderScopes, setCompressionContext, setLogSeqNum, setOrigLogSeqNum, setScopes, toString, toStringMap
public ReplayHLogKey(byte[] encodedRegionName, TableName tablename, long now, List<UUID> clusterIds, long nonceGroup, long nonce)
public long getSequenceId() throws IOException
getSequenceId
in interface SequenceId
getSequenceId
in class WALKey
InterruptedException
IOException
Copyright © 2007-2016 The Apache Software Foundation. All Rights Reserved.