C# Class FFImageLoading.Work.WorkScheduler

Inheritance: IWorkScheduler
Afficher le fichier Open project: daniel-luberda/FFImageLoading

Protected Properties

Свойство Type Description
_pendingTasksLock object

Méthodes publiques

Méthode Description
Cancel ( bool>.Func predicate ) : void
Cancel ( IImageLoaderTask task ) : void
LoadImage ( IImageLoaderTask task ) : void
RemovePendingTask ( IImageLoaderTask task ) : void
SetExitTasksEarly ( bool exitTasksEarly ) : void
SetPauseWork ( bool pauseWork ) : void
WorkScheduler ( Configuration configuration, IPlatformPerformance performance ) : System

Méthodes protégées

Méthode Description
CreateFrameworkTask ( IImageLoaderTask imageLoadingTask ) : Task
EvictStaleTasks ( ) : void
GetDefaultPriority ( ImageSource source ) : int
LogSchedulerStats ( ) : void
QueueImageLoadingTask ( IImageLoaderTask task ) : void
RunImageLoadingTaskAsync ( PendingTask pendingTask, bool scheduleOnThreadPool ) : Task
TakeFromPendingTasksAndRun ( ) : void
TakeFromPendingTasksAndRunAsync ( ) : Task
WaitForSimilarTaskFinished ( PendingTask currentPendingTask, PendingTask taskForSimilarKey ) : void

Method Details

Cancel() public méthode

public Cancel ( bool>.Func predicate ) : void
predicate bool>.Func
Résultat void

Cancel() public méthode

public Cancel ( IImageLoaderTask task ) : void
task IImageLoaderTask
Résultat void

CreateFrameworkTask() protected méthode

protected CreateFrameworkTask ( IImageLoaderTask imageLoadingTask ) : Task
imageLoadingTask IImageLoaderTask
Résultat Task

EvictStaleTasks() protected méthode

protected EvictStaleTasks ( ) : void
Résultat void

GetDefaultPriority() protected méthode

protected GetDefaultPriority ( ImageSource source ) : int
source ImageSource
Résultat int

LoadImage() public méthode

public LoadImage ( IImageLoaderTask task ) : void
task IImageLoaderTask
Résultat void

LogSchedulerStats() protected méthode

protected LogSchedulerStats ( ) : void
Résultat void

QueueImageLoadingTask() protected méthode

protected QueueImageLoadingTask ( IImageLoaderTask task ) : void
task IImageLoaderTask
Résultat void

RemovePendingTask() public méthode

public RemovePendingTask ( IImageLoaderTask task ) : void
task IImageLoaderTask
Résultat void

RunImageLoadingTaskAsync() protected méthode

protected RunImageLoadingTaskAsync ( PendingTask pendingTask, bool scheduleOnThreadPool ) : Task
pendingTask PendingTask
scheduleOnThreadPool bool
Résultat Task

SetExitTasksEarly() public méthode

public SetExitTasksEarly ( bool exitTasksEarly ) : void
exitTasksEarly bool
Résultat void

SetPauseWork() public méthode

public SetPauseWork ( bool pauseWork ) : void
pauseWork bool
Résultat void

TakeFromPendingTasksAndRun() protected méthode

protected TakeFromPendingTasksAndRun ( ) : void
Résultat void

TakeFromPendingTasksAndRunAsync() protected méthode

protected TakeFromPendingTasksAndRunAsync ( ) : Task
Résultat Task

WaitForSimilarTaskFinished() protected méthode

protected WaitForSimilarTaskFinished ( PendingTask currentPendingTask, PendingTask taskForSimilarKey ) : void
currentPendingTask PendingTask
taskForSimilarKey PendingTask
Résultat void

WorkScheduler() public méthode

public WorkScheduler ( Configuration configuration, IPlatformPerformance performance ) : System
configuration Configuration
performance IPlatformPerformance
Résultat System

Property Details

_pendingTasksLock protected_oe property

protected object _pendingTasksLock
Résultat object