|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcore.time.VSLamportTime
public class VSLamportTime
The class VSLamportTime, defines how the lamport timestamps are represented.
| Constructor Summary | |
|---|---|
VSLamportTime(long globalTime,
long lamportTime)
A simple constructor. |
|
| Method Summary | |
|---|---|
long |
getGlobalTime()
Gets the global time. |
long |
getLamportTime()
Gets the lamport time. |
java.lang.String |
toString()
Returns a string representation. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public VSLamportTime(long globalTime,
long lamportTime)
globalTime - The global time.lamportTime - The local lamport time.| Method Detail |
|---|
public long getGlobalTime()
VSTime
getGlobalTime in interface VSTimepublic long getLamportTime()
public java.lang.String toString()
VSTime
toString in interface VSTimetoString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||