Package org.onosproject.store.service
Class WallClockTimestamp
- java.lang.Object
 - 
- org.onosproject.store.service.WallClockTimestamp
 
 
- 
- 
Constructor Summary
Constructors Constructor Description WallClockTimestamp()WallClockTimestamp(long timestamp) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(Timestamp o)booleanequals(java.lang.Object obj)inthashCode()java.lang.StringtoString()longunixTimestamp()Returns the unixTimestamp.- 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait 
- 
Methods inherited from interface org.onosproject.store.Timestamp
isNewerThan, isOlderThan 
 - 
 
 - 
 
- 
- 
Method Detail
- 
compareTo
public int compareTo(Timestamp o)
- Specified by:
 compareToin interfacejava.lang.Comparable<Timestamp>
 
- 
hashCode
public int hashCode()
 
- 
equals
public boolean equals(java.lang.Object obj)
 
- 
toString
public java.lang.String toString()
- Overrides:
 toStringin classjava.lang.Object
 
- 
unixTimestamp
public long unixTimestamp()
Returns the unixTimestamp.- Returns:
 - unix timestamp
 
 
 - 
 
 -