public class HBaseTimestampStorage extends Object implements TimestampStorage
| Constructor and Description |
|---|
HBaseTimestampStorage(org.apache.hadoop.conf.Configuration hbaseConfig,
HBaseTimestampStorageConfig config) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
long |
getMaxTimestamp() |
void |
updateMaxTimestamp(long previousMaxTimestamp,
long newMaxTimestamp) |
@Inject
public HBaseTimestampStorage(org.apache.hadoop.conf.Configuration hbaseConfig,
HBaseTimestampStorageConfig config)
throws IOException
IOExceptionpublic void updateMaxTimestamp(long previousMaxTimestamp,
long newMaxTimestamp)
throws IOException
updateMaxTimestamp in interface TimestampStorageIOExceptionpublic long getMaxTimestamp()
throws IOException
getMaxTimestamp in interface TimestampStorageIOExceptionpublic void close()
throws IOException
IOExceptionCopyright © 2011–2020 Apache Software Foundation. All rights reserved.