SdkClock.MockClock
public interface SdkClock
System.currentTimeMillis()
.Modifier and Type | Interface | Description |
---|---|---|
static class |
SdkClock.MockClock |
Mock implementation used in tests.
|
Modifier and Type | Field | Description |
---|---|---|
static SdkClock |
STANDARD |
Standard implementation that calls out to
System.currentTimeMillis() . |
Modifier and Type | Method | Description |
---|---|---|
long |
currentTimeMillis() |
static final SdkClock STANDARD
System.currentTimeMillis()
. Used in production code.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.