C# Класс withSIX.Sync.Core.Transfer.MirrorSelectors.ScoreMirrorSelector

Наследование: IMirrorSelector, IDisposable
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
FailedScoreIncreaseEvery System.TimeSpan

Открытые методы

Метод Описание
Dispose ( ) : void
Failure ( Uri host ) : void
GetHost ( ) : Uri
ProgramFailure ( ) : void
ScoreMirrorSelector ( IHostChecker hostChecker ) : System
ScoreMirrorSelector ( IHostChecker hostChecker, IReadOnlyCollection hostPool ) : System
ScoreMirrorSelector ( int scoreLimit, IHostChecker hostChecker ) : System
ScoreMirrorSelector ( int scoreLimit, IHostChecker hostChecker, IReadOnlyCollection hostPool ) : System
Success ( Uri host ) : void

Приватные методы

Метод Описание
ConfirmHostExists ( Uri host ) : void
ConfirmHostValidity ( HostState state ) : void
ConfirmProgramFailures ( ) : void
DecreaseScore ( HostState hostState ) : void
GetFirstHost ( ) : HostState>.KeyValuePair
GetStatesToIncrease ( ) : IEnumerable
IncreaseScore ( HostState hostState ) : void
IncreaseScoresWhenNeeded ( ) : void
ThrowWhenHostPoolIsNullOrEmpty ( IEnumerable hostPool ) : void

Описание методов

Dispose() публичный Метод

public Dispose ( ) : void
Результат void

Failure() публичный Метод

public Failure ( Uri host ) : void
host System.Uri
Результат void

GetHost() публичный Метод

public GetHost ( ) : Uri
Результат System.Uri

ProgramFailure() публичный Метод

public ProgramFailure ( ) : void
Результат void

ScoreMirrorSelector() публичный Метод

public ScoreMirrorSelector ( IHostChecker hostChecker ) : System
hostChecker IHostChecker
Результат System

ScoreMirrorSelector() публичный Метод

public ScoreMirrorSelector ( IHostChecker hostChecker, IReadOnlyCollection hostPool ) : System
hostChecker IHostChecker
hostPool IReadOnlyCollection
Результат System

ScoreMirrorSelector() публичный Метод

public ScoreMirrorSelector ( int scoreLimit, IHostChecker hostChecker ) : System
scoreLimit int
hostChecker IHostChecker
Результат System

ScoreMirrorSelector() публичный Метод

public ScoreMirrorSelector ( int scoreLimit, IHostChecker hostChecker, IReadOnlyCollection hostPool ) : System
scoreLimit int
hostChecker IHostChecker
hostPool IReadOnlyCollection
Результат System

Success() публичный Метод

public Success ( Uri host ) : void
host System.Uri
Результат void

Описание свойств

FailedScoreIncreaseEvery защищенное свойство

protected TimeSpan,System FailedScoreIncreaseEvery
Результат System.TimeSpan