commit | a6c9b5cff25d3348f30601ee9c6d17120cba2362 | [log] [tgz] |
---|---|---|
author | Brian O'Connor <bocon@onlab.us> | Wed Apr 29 22:38:29 2015 -0700 |
committer | Brian O'Connor <bocon@onlab.us> | Fri May 01 12:48:15 2015 -0700 |
tree | efe57ae6ecc46aaa2a4202ca680167adf1c96b01 | |
parent | 5c3fd7083c5f6ec54f510248c07eae7e69fb285e [diff] [blame] |
Updating IntentCleanup to check for stalled *_REQ and *ING intents. Change-Id: Ibe06ee99463bb8230acf9751da4fb1012859b0ea
diff --git a/core/store/dist/src/main/java/org/onosproject/store/impl/WallClockTimestamp.java b/core/store/dist/src/main/java/org/onosproject/store/impl/WallClockTimestamp.java index a158928..e7efb29 100644 --- a/core/store/dist/src/main/java/org/onosproject/store/impl/WallClockTimestamp.java +++ b/core/store/dist/src/main/java/org/onosproject/store/impl/WallClockTimestamp.java
@@ -36,6 +36,10 @@ unixTimestamp = System.currentTimeMillis(); } + public WallClockTimestamp(long timestamp) { + unixTimestamp = timestamp; + } + @Override public int compareTo(Timestamp o) { checkArgument(o instanceof WallClockTimestamp,