C# Class Akka.Actor.DedicatedThreadScheduler

Inheritance: SchedulerBase, IDateTimeOffsetNowTimeProvider
Exibir arquivo Open project: rogeralsing/akka.net Class Usage Examples

Public Methods

Method Description
DedicatedThreadScheduler ( ActorSystem system ) : System

Protected Methods

Method Description
InternalScheduleOnce ( System.TimeSpan delay, System.Action action, ICancelable cancelable ) : void
InternalScheduleRepeatedly ( System.TimeSpan initialDelay, System.TimeSpan interval, System.Action action, ICancelable cancelable ) : void
InternalScheduleTellOnce ( System.TimeSpan delay, ICanTell receiver, object message, IActorRef sender, ICancelable cancelable ) : void
InternalScheduleTellRepeatedly ( System.TimeSpan initialDelay, System.TimeSpan interval, ICanTell receiver, object message, IActorRef sender, ICancelable cancelable ) : void

Private Methods

Method Description
AddWork ( System.TimeSpan delay, System.Action work, CancellationToken token ) : void
InternalScheduleOnce ( System.TimeSpan initialDelay, System.Action action, CancellationToken token ) : void
InternalScheduleRepeatedly ( System.TimeSpan initialDelay, System.TimeSpan interval, System.Action action, CancellationToken token ) : void

Method Details

DedicatedThreadScheduler() public method

public DedicatedThreadScheduler ( ActorSystem system ) : System
system ActorSystem
return System

InternalScheduleOnce() protected method

protected InternalScheduleOnce ( System.TimeSpan delay, System.Action action, ICancelable cancelable ) : void
delay System.TimeSpan
action System.Action
cancelable ICancelable
return void

InternalScheduleRepeatedly() protected method

protected InternalScheduleRepeatedly ( System.TimeSpan initialDelay, System.TimeSpan interval, System.Action action, ICancelable cancelable ) : void
initialDelay System.TimeSpan
interval System.TimeSpan
action System.Action
cancelable ICancelable
return void

InternalScheduleTellOnce() protected method

protected InternalScheduleTellOnce ( System.TimeSpan delay, ICanTell receiver, object message, IActorRef sender, ICancelable cancelable ) : void
delay System.TimeSpan
receiver ICanTell
message object
sender IActorRef
cancelable ICancelable
return void

InternalScheduleTellRepeatedly() protected method

protected InternalScheduleTellRepeatedly ( System.TimeSpan initialDelay, System.TimeSpan interval, ICanTell receiver, object message, IActorRef sender, ICancelable cancelable ) : void
initialDelay System.TimeSpan
interval System.TimeSpan
receiver ICanTell
message object
sender IActorRef
cancelable ICancelable
return void