Package org.onosproject.core
Class HybridLogicalTime
- java.lang.Object
-
- org.onosproject.core.HybridLogicalTime
-
-
Constructor Summary
Constructors Constructor Description HybridLogicalTime(long logicalTime, long logicalCounter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
logicalCounter()
Returns the logical counter component of a HLT.long
logicalTime()
Returns the logical time component of a HLT.long
time()
Returns the real system time represented by this HLT.String
toString()
-
-
-
Method Detail
-
logicalTime
public long logicalTime()
Returns the logical time component of a HLT.- Returns:
- logical time
-
logicalCounter
public long logicalCounter()
Returns the logical counter component of a HLT.- Returns:
- logical counter
-
time
public long time()
Returns the real system time represented by this HLT.- Returns:
- real system time
-
-