C# Класс Demo.Application.Elastic.Checkpoints.ElasticCompetes

Наследование: IManageCompetes
Показать файл Открыть проект

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

Метод Описание
Adopt ( String endpoint, Int32 bucket, System.DateTime Timestamp ) : System.Boolean
CheckOrSave ( string endpoint, Int32 bucket, long position ) : bool
ElasticCompetes ( IElasticClient client ) : Aggregates
Heartbeat ( string endpoint, Int32 bucket, System.DateTime Timestamp, long position ) : void
LastHeartbeat ( string endpoint, Int32 bucket ) : DateTime?
LastPosition ( string endpoint, Int32 bucket ) : long

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

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

public Adopt ( String endpoint, Int32 bucket, System.DateTime Timestamp ) : System.Boolean
endpoint String
bucket System.Int32
Timestamp System.DateTime
Результат System.Boolean

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

public CheckOrSave ( string endpoint, Int32 bucket, long position ) : bool
endpoint string
bucket System.Int32
position long
Результат bool

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

public ElasticCompetes ( IElasticClient client ) : Aggregates
client IElasticClient
Результат Aggregates

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

public Heartbeat ( string endpoint, Int32 bucket, System.DateTime Timestamp, long position ) : void
endpoint string
bucket System.Int32
Timestamp System.DateTime
position long
Результат void

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

public LastHeartbeat ( string endpoint, Int32 bucket ) : DateTime?
endpoint string
bucket System.Int32
Результат DateTime?

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

public LastPosition ( string endpoint, Int32 bucket ) : long
endpoint string
bucket System.Int32
Результат long