Package org.onosproject.store.service
Class WallClockTimestamp
- java.lang.Object
- 
- org.onosproject.store.service.WallClockTimestamp
 
- 
- All Implemented Interfaces:
- Comparable<Timestamp>,- Timestamp
 
 public class WallClockTimestamp extends Object implements Timestamp A Timestamp that derives its value from the prevailing wallclock time on the controller where it is generated.
- 
- 
Constructor SummaryConstructors Constructor Description WallClockTimestamp()WallClockTimestamp(long timestamp)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(Timestamp o)booleanequals(Object obj)inthashCode()StringtoString()longunixTimestamp()Returns the unixTimestamp.- 
Methods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, wait, wait, wait
 - 
Methods inherited from interface org.onosproject.store.TimestampisNewerThan, isOlderThan
 
- 
 
- 
- 
- 
Method Detail- 
compareTopublic int compareTo(Timestamp o) - Specified by:
- compareToin interface- Comparable<Timestamp>
 
 - 
hashCodepublic int hashCode() 
 - 
equalspublic boolean equals(Object obj) 
 - 
unixTimestamppublic long unixTimestamp() Returns the unixTimestamp.- Returns:
- unix timestamp
 
 
- 
 
-