C# Class Demo.Application.Elastic.Checkpoints.ElasticCompetes

Inheritance: IManageCompetes
Afficher le fichier Open project: volak/DDD.Enterprise.Example

Méthodes publiques

Méthode Description
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

Method Details

Adopt() public méthode

public Adopt ( String endpoint, Int32 bucket, System.DateTime Timestamp ) : System.Boolean
endpoint String
bucket System.Int32
Timestamp System.DateTime
Résultat System.Boolean

CheckOrSave() public méthode

public CheckOrSave ( string endpoint, Int32 bucket, long position ) : bool
endpoint string
bucket System.Int32
position long
Résultat bool

ElasticCompetes() public méthode

public ElasticCompetes ( IElasticClient client ) : Aggregates
client IElasticClient
Résultat Aggregates

Heartbeat() public méthode

public Heartbeat ( string endpoint, Int32 bucket, System.DateTime Timestamp, long position ) : void
endpoint string
bucket System.Int32
Timestamp System.DateTime
position long
Résultat void

LastHeartbeat() public méthode

public LastHeartbeat ( string endpoint, Int32 bucket ) : DateTime?
endpoint string
bucket System.Int32
Résultat DateTime?

LastPosition() public méthode

public LastPosition ( string endpoint, Int32 bucket ) : long
endpoint string
bucket System.Int32
Résultat long