public class TimestampOracle extends Object
| Constructor and Description |
|---|
TimestampOracle() |
| Modifier and Type | Method and Description |
|---|---|
long |
currentTime()
Returns the current wall clock time in milliseconds, multiplied by the required precision.
|
long |
getUniqueTimestamp()
Returns a timestamp value unique within the scope of this
TimestampOracle instance. |
public long currentTime()
public long getUniqueTimestamp()
TimestampOracle instance. For usage
by HBase RegionObserver coprocessors, this normally means unique within a given region.Copyright © 2016 Cask Data, Inc. Licensed under the Apache License, Version 2.0.