Refactor TableModState to use nanoTime refactor (#1720)

* #1719 - Refactor TableModState to use nanoTime

* Tests only - reduce logging
This commit is contained in:
Rob Bygrave
2019-05-21 00:42:17 +12:00
committed by GitHub
parent cf4d45befb
commit 7fbdab6220
18 changed files with 59 additions and 90 deletions
@@ -15,7 +15,12 @@ public class RemoteTableMod implements BinaryWritable {
private final Set<String> tables;
public RemoteTableMod(long timestamp, Set<String> tables) {
public RemoteTableMod(Set<String> tables) {
this.tables = tables;
this.timestamp = System.currentTimeMillis();
}
private RemoteTableMod(long timestamp, Set<String> tables) {
this.timestamp = timestamp;
this.tables = tables;
}