|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use ClockSynchronizer | |
---|---|
org.apache.qpid.test.framework.clocksynch |
Uses of ClockSynchronizer in org.apache.qpid.test.framework.clocksynch |
---|
Classes in org.apache.qpid.test.framework.clocksynch that implement ClockSynchronizer | |
---|---|
class |
LocalClockSynchronizer
LocalClockSynchronizer is a fake ClockSynchronizer that simply calls System.nanoTime(). |
class |
UDPClockSynchronizer
UDPClockSynchronizer is a ClockSynchronizer that sends pings as UDP datagrams, and uses the following simple
algorithm to perform clock synchronization:
Slave initiates synchronization with a Reference clock.
Slave stamps current local time on a "time request" message and sends to the Reference.
Upon receipt by Reference, Reference stamps Reference-time and returns.
Upon receipt by Slave, Slave subtracts current time from sent time and divides by two to compute latency. |
Methods in org.apache.qpid.test.framework.clocksynch that return ClockSynchronizer | |
---|---|
ClockSynchronizer |
ClockSynchThread.getClockSyncher()
Gets the clock synchronizer that is kept continually up to date. |
Constructors in org.apache.qpid.test.framework.clocksynch with parameters of type ClockSynchronizer | |
---|---|
ClockSynchThread(ClockSynchronizer syncher,
org.apache.qpid.junit.extensions.Throttle throttle)
Creates a clock synchronizer thread from a clock synchronizer and a throttle. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |