Class TestScheduler
TBD
Implements
Inherited Members
Namespace: Akka.TestKit
Assembly: Akka.TestKit.dll
Syntax
public class TestScheduler : IScheduler, ITellScheduler, ITimeProvider, IAdvancedScheduler, IActionScheduler, IRunnableScheduler
Constructors
| Improve this Doc View SourceTestScheduler(Config, ILoggingAdapter)
TBD
Declaration
public TestScheduler(Config schedulerConfig, ILoggingAdapter log)
Parameters
Type | Name | Description |
---|---|---|
Config | schedulerConfig | TBD |
ILoggingAdapter | log | TBD |
Properties
| Improve this Doc View SourceAdvanced
TBD
Declaration
public IAdvancedScheduler Advanced { get; }
Property Value
Type | Description |
---|---|
IAdvancedScheduler |
HighResMonotonicClock
TBD
Declaration
public TimeSpan HighResMonotonicClock { get; }
Property Value
Type | Description |
---|---|
TimeSpan |
MonotonicClock
TBD
Declaration
public TimeSpan MonotonicClock { get; }
Property Value
Type | Description |
---|---|
TimeSpan |
Now
TBD
Declaration
public DateTimeOffset Now { get; }
Property Value
Type | Description |
---|---|
DateTimeOffset |
TimeNow
TBD
Declaration
protected DateTimeOffset TimeNow { get; }
Property Value
Type | Description |
---|---|
DateTimeOffset |
Methods
| Improve this Doc View SourceAdvance(TimeSpan)
TBD
Declaration
public void Advance(TimeSpan offset)
Parameters
Type | Name | Description |
---|---|---|
TimeSpan | offset | TBD |
AdvanceTo(DateTimeOffset)
TBD
Declaration
public void AdvanceTo(DateTimeOffset when)
Parameters
Type | Name | Description |
---|---|---|
DateTimeOffset | when | TBD |
Exceptions
Type | Condition |
---|---|
InvalidOperationException | This exception is thrown when the specified |
ScheduleOnce(TimeSpan, IRunnable)
Declaration
public void ScheduleOnce(TimeSpan delay, IRunnable action)
Parameters
Type | Name | Description |
---|---|---|
TimeSpan | delay | |
IRunnable | action |
ScheduleOnce(TimeSpan, IRunnable, ICancelable)
Declaration
public void ScheduleOnce(TimeSpan delay, IRunnable action, ICancelable cancelable)
Parameters
Type | Name | Description |
---|---|---|
TimeSpan | delay | |
IRunnable | action | |
ICancelable | cancelable |
ScheduleOnce(TimeSpan, Action)
TBD
Declaration
public void ScheduleOnce(TimeSpan delay, Action action)
Parameters
Type | Name | Description |
---|---|---|
TimeSpan | delay | TBD |
Action | action | TBD |
ScheduleOnce(TimeSpan, Action, ICancelable)
TBD
Declaration
public void ScheduleOnce(TimeSpan delay, Action action, ICancelable cancelable)
Parameters
Type | Name | Description |
---|---|---|
TimeSpan | delay | TBD |
Action | action | TBD |
ICancelable | cancelable | TBD |
ScheduleRepeatedly(TimeSpan, TimeSpan, IRunnable)
Declaration
public void ScheduleRepeatedly(TimeSpan initialDelay, TimeSpan interval, IRunnable action)
Parameters
Type | Name | Description |
---|---|---|
TimeSpan | initialDelay | |
TimeSpan | interval | |
IRunnable | action |
ScheduleRepeatedly(TimeSpan, TimeSpan, IRunnable, ICancelable)
Declaration
public void ScheduleRepeatedly(TimeSpan initialDelay, TimeSpan interval, IRunnable action, ICancelable cancelable)
Parameters
Type | Name | Description |
---|---|---|
TimeSpan | initialDelay | |
TimeSpan | interval | |
IRunnable | action | |
ICancelable | cancelable |
ScheduleRepeatedly(TimeSpan, TimeSpan, Action)
TBD
Declaration
public void ScheduleRepeatedly(TimeSpan initialDelay, TimeSpan interval, Action action)
Parameters
Type | Name | Description |
---|---|---|
TimeSpan | initialDelay | TBD |
TimeSpan | interval | TBD |
Action | action | TBD |
ScheduleRepeatedly(TimeSpan, TimeSpan, Action, ICancelable)
TBD
Declaration
public void ScheduleRepeatedly(TimeSpan initialDelay, TimeSpan interval, Action action, ICancelable cancelable)
Parameters
Type | Name | Description |
---|---|---|
TimeSpan | initialDelay | TBD |
TimeSpan | interval | TBD |
Action | action | TBD |
ICancelable | cancelable | TBD |
ScheduleTellOnce(TimeSpan, ICanTell, Object, IActorRef)
TBD
Declaration
public void ScheduleTellOnce(TimeSpan delay, ICanTell receiver, object message, IActorRef sender)
Parameters
Type | Name | Description |
---|---|---|
TimeSpan | delay | TBD |
ICanTell | receiver | TBD |
Object | message | TBD |
IActorRef | sender | TBD |
ScheduleTellOnce(TimeSpan, ICanTell, Object, IActorRef, ICancelable)
TBD
Declaration
public void ScheduleTellOnce(TimeSpan delay, ICanTell receiver, object message, IActorRef sender, ICancelable cancelable)
Parameters
Type | Name | Description |
---|---|---|
TimeSpan | delay | TBD |
ICanTell | receiver | TBD |
Object | message | TBD |
IActorRef | sender | TBD |
ICancelable | cancelable | TBD |
ScheduleTellRepeatedly(TimeSpan, TimeSpan, ICanTell, Object, IActorRef)
TBD
Declaration
public void ScheduleTellRepeatedly(TimeSpan initialDelay, TimeSpan interval, ICanTell receiver, object message, IActorRef sender)
Parameters
Type | Name | Description |
---|---|---|
TimeSpan | initialDelay | TBD |
TimeSpan | interval | TBD |
ICanTell | receiver | TBD |
Object | message | TBD |
IActorRef | sender | TBD |
ScheduleTellRepeatedly(TimeSpan, TimeSpan, ICanTell, Object, IActorRef, ICancelable)
TBD
Declaration
public void ScheduleTellRepeatedly(TimeSpan initialDelay, TimeSpan interval, ICanTell receiver, object message, IActorRef sender, ICancelable cancelable)
Parameters
Type | Name | Description |
---|---|---|
TimeSpan | initialDelay | TBD |
TimeSpan | interval | TBD |
ICanTell | receiver | TBD |
Object | message | TBD |
IActorRef | sender | TBD |
ICancelable | cancelable | TBD |