public class TimeServerPrms extends BasePrms
| Modifier and Type | Field and Description |
|---|---|
static Long |
clockSkewMaxLatencyMs
(long)
Number of milliseconds of latency allowed in a clock skew update.
|
static Long |
clockSkewSamplesToAverage
(int)
Number of clock skew samples to average for each update to the clock skew
Defaults to
DEFAULT_CLOCK_SKEW_SAMPLES_TO_AVERAGE |
static Long |
clockSkewThresholdMs
(long) Number of milliseconds of clock skew in System.currentTimeMillis() a
test will tolerate between multiple hosts on startup.
|
static Long |
clockSkewUpdateFrequencyMs
(long) Number of milliseconds to sleep in between updates to the clock skew
in System.nanoTime between the client VMs and the master controller.
|
static int |
DEFAULT_CLOCK_SKEW_MAX_LATENCY_MS |
static int |
DEFAULT_CLOCK_SKEW_SAMPLES_TO_AVERAGE |
static long |
DEFAULT_CLOCK_SKEW_THRESHOLD_MS |
static int |
DEFAULT_CLOCK_SKEW_UPDATE_FREQUENCY_MS |
static boolean |
DEFAULT_ERROR_ON_EXCEEDED_CLOCK_SKEW_THRESHOLD |
static Long |
errorOnExceededClockSkewThreshold
(boolean)
Whether a test should fail if it exceeds
clockSkewThresholdMs. |
| Constructor and Description |
|---|
TimeServerPrms() |
| Modifier and Type | Method and Description |
|---|---|
static int |
clockSkewMaxLatencyMs() |
static int |
clockSkewSamplesToAverage() |
static long |
clockSkewThresholdMs() |
static long |
clockSkewThresholdMs(TestConfig tc)
This method allows the hostagent to use its own sub-configuration
|
static int |
clockSkewUpdateFrequencyMs() |
static boolean |
errorOnExceededClockSkewThreshold() |
static boolean |
errorOnExceededClockSkewThreshold(TestConfig tc)
This method allows the hostagent to use its own sub-configuration
|
static void |
main(String[] args) |
dumpKeys, keyForName, nameForKey, setValues, tab, tasktabpublic static Long clockSkewThresholdMs
DEFAULT_CLOCK_SKEW_THRESHOLD_MS, which tolerates any amount of
skew. If the threshold is exceeded, hydra will attempt to resynchronize the
clocks via NTP. If this fails, hydra honors
errorOnExceededClockSkewThreshold.public static final long DEFAULT_CLOCK_SKEW_THRESHOLD_MS
public static Long errorOnExceededClockSkewThreshold
clockSkewThresholdMs.
Defaults to false, but note that, even when true, this has no effect if
the default threshold is used.public static final boolean DEFAULT_ERROR_ON_EXCEEDED_CLOCK_SKEW_THRESHOLD
public static Long clockSkewUpdateFrequencyMs
DEFAULT_CLOCK_SKEW_UPDATE_FREQUENCY_MS, which that
the client will not calculate clock skew for System.nanoTime.public static final int DEFAULT_CLOCK_SKEW_UPDATE_FREQUENCY_MS
public static Long clockSkewMaxLatencyMs
DEFAULT_CLOCK_SKEW_MAX_LATENCY_MSpublic static final int DEFAULT_CLOCK_SKEW_MAX_LATENCY_MS
public static Long clockSkewSamplesToAverage
DEFAULT_CLOCK_SKEW_SAMPLES_TO_AVERAGEpublic static final int DEFAULT_CLOCK_SKEW_SAMPLES_TO_AVERAGE
public static long clockSkewThresholdMs()
public static long clockSkewThresholdMs(TestConfig tc)
public static boolean errorOnExceededClockSkewThreshold()
public static boolean errorOnExceededClockSkewThreshold(TestConfig tc)
public static int clockSkewUpdateFrequencyMs()
public static int clockSkewMaxLatencyMs()
public static int clockSkewSamplesToAverage()
public static void main(String[] args)
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.