C# Class Helios.Concurrency.ScheduledTask

Inheritance: IScheduledRunnable
Afficher le fichier Open project: helios-io/helios

Protected Properties

Свойство Type Description
Executor AbstractScheduledEventExecutor
Promise TaskCompletionSource

Méthodes publiques

Méthode Description
Cancel ( ) : bool
CompareTo ( IScheduledRunnable other ) : int
GetAwaiter ( ) : TaskAwaiter
Run ( ) : void

Méthodes protégées

Méthode Description
Execute ( ) : void
ScheduledTask ( AbstractScheduledEventExecutor executor, PreciseDeadline deadline, TaskCompletionSource promise ) : System

Private Methods

Méthode Description
AtomicCancellationStateUpdate ( int newBits, int illegalBits ) : bool
TrySetUncancelable ( ) : bool

Method Details

Cancel() public méthode

public Cancel ( ) : bool
Résultat bool

CompareTo() public méthode

public CompareTo ( IScheduledRunnable other ) : int
other IScheduledRunnable
Résultat int

Execute() protected abstract méthode

protected abstract Execute ( ) : void
Résultat void

GetAwaiter() public méthode

public GetAwaiter ( ) : TaskAwaiter
Résultat TaskAwaiter

Run() public méthode

public Run ( ) : void
Résultat void

ScheduledTask() protected méthode

protected ScheduledTask ( AbstractScheduledEventExecutor executor, PreciseDeadline deadline, TaskCompletionSource promise ) : System
executor AbstractScheduledEventExecutor
deadline PreciseDeadline
promise TaskCompletionSource
Résultat System

Property Details

Executor protected_oe property

protected AbstractScheduledEventExecutor Executor
Résultat AbstractScheduledEventExecutor

Promise protected_oe property

protected TaskCompletionSource Promise
Résultat TaskCompletionSource