C# Class GSF.Threading.ThreadContainerBase

Afficher le fichier Open project: GridProtectionAlliance/gsf Class Usage Examples

Méthodes publiques

Méthode Description
StartDisposal ( ) : void

Same as Start() except notifies on the callback during a race condition that this is the one that was first to schedule the task.

StartSlower ( ) : void
StartSlower ( int delay ) : void

Méthodes protégées

Méthode Description
InternalCancelTimer ( ) : void
InternalDispose_FromWorkerThread ( ) : void
InternalDoNothing_FromWorkerThread ( ) : void
InternalStart ( ) : void
InternalStart ( int delay ) : void
InternalStart_FromWorkerThread ( ) : void
InternalStart_FromWorkerThread ( int delay ) : void
OnRunning ( ) : void
Shutdown ( ) : void
ThreadContainerBase ( Action callback, System.Action disposeAndWaitCallback, bool disposeOnShutdown ) : System

Private Methods

Méthode Description
IgnoreShutdownEvent ( ) : void

For foreground threads, a shutdown handler is registered to dispose of the Thread so it doesn't keep the process running. However, for the Logger, shutting down this thread will prevent shutdown messages from showing up in the logger. By calling this method, it declares that the coder will dispose of this class when it is finished and does not want the Shutdown handler to do it.

Start ( ) : void
Start ( int delay ) : void

Method Details

InternalCancelTimer() protected abstract méthode

protected abstract InternalCancelTimer ( ) : void
Résultat void

InternalDispose_FromWorkerThread() protected abstract méthode

protected abstract InternalDispose_FromWorkerThread ( ) : void
Résultat void

InternalDoNothing_FromWorkerThread() protected abstract méthode

protected abstract InternalDoNothing_FromWorkerThread ( ) : void
Résultat void

InternalStart() protected abstract méthode

protected abstract InternalStart ( ) : void
Résultat void

InternalStart() protected abstract méthode

protected abstract InternalStart ( int delay ) : void
delay int
Résultat void

InternalStart_FromWorkerThread() protected abstract méthode

protected abstract InternalStart_FromWorkerThread ( ) : void
Résultat void

InternalStart_FromWorkerThread() protected abstract méthode

protected abstract InternalStart_FromWorkerThread ( int delay ) : void
delay int
Résultat void

OnRunning() protected méthode

protected OnRunning ( ) : void
Résultat void

Shutdown() protected méthode

protected Shutdown ( ) : void
Résultat void

StartDisposal() public méthode

Same as Start() except notifies on the callback during a race condition that this is the one that was first to schedule the task.
public StartDisposal ( ) : void
Résultat void

StartSlower() public méthode

public StartSlower ( ) : void
Résultat void

StartSlower() public méthode

public StartSlower ( int delay ) : void
delay int
Résultat void

ThreadContainerBase() protected méthode

protected ThreadContainerBase ( Action callback, System.Action disposeAndWaitCallback, bool disposeOnShutdown ) : System
callback Action
disposeAndWaitCallback System.Action
disposeOnShutdown bool
Résultat System