Package org.onosproject.core
Class HybridLogicalTime
- java.lang.Object
- 
- org.onosproject.core.HybridLogicalTime
 
- 
 public class HybridLogicalTime extends java.lang.ObjectTime provided by a Hybrid Logical Clock described in this paper.
- 
- 
Constructor SummaryConstructors Constructor Description HybridLogicalTime(long logicalTime, long logicalCounter)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description longlogicalCounter()Returns the logical counter component of a HLT.longlogicalTime()Returns the logical time component of a HLT.longtime()Returns the real system time represented by this HLT.java.lang.StringtoString()
 
- 
- 
- 
Method Detail- 
logicalTimepublic long logicalTime() Returns the logical time component of a HLT.- Returns:
- logical time
 
 - 
logicalCounterpublic long logicalCounter() Returns the logical counter component of a HLT.- Returns:
- logical counter
 
 - 
timepublic long time() Returns the real system time represented by this HLT.- Returns:
- real system time
 
 - 
toStringpublic java.lang.String toString() - Overrides:
- toStringin class- java.lang.Object
 
 
- 
 
-