| Modifier and Type | Class and Description |
|---|---|
class |
ManualClock
Defines a clock where time only moves forward programmatically
|
| Modifier and Type | Method and Description |
|---|---|
static Clock |
Clock.atomic() |
Clock |
Clock.correctWith(Clock atomicClock) |
static Clock |
Clock.system() |
| Modifier and Type | Method and Description |
|---|---|
Clock |
Clock.correctWith(Clock atomicClock) |
static void |
Clock.setAtomic(Clock clock) |
| Modifier and Type | Field and Description |
|---|---|
protected Clock |
TimeFrameFactory.clock |
| Modifier and Type | Method and Description |
|---|---|
static TimeFrameFactory |
TimeFrameFactory.fixed(Clock clock,
DateTime startTime) |
| Constructor and Description |
|---|
TimeFrameFactory(Clock clock) |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
Period.updateWith(Clock clock)
Period duration can be dependant to the current clock, therefore one can be set.
|
| Modifier and Type | Class and Description |
|---|---|
class |
SystemClock
Defines a Clock that uses the current system time.
|
| Constructor and Description |
|---|
FixedTimeFrame(Clock clock,
DateTime startTime,
Period period) |
FixedTimeFrameFactory(Clock clock,
DateTime startTime) |
| Modifier and Type | Method and Description |
|---|---|
void |
MillisPeriod.updateWith(Clock clock) |
void |
SecondsPeriod.updateWith(Clock clock) |
Copyright © 2014–2022 MuleSoft, Inc.. All rights reserved.