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

Inheritance: IManageCompetes
Mostrar archivo Open project: volak/DDD.Enterprise.Example

Public Methods

Method 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 method

public Adopt ( String endpoint, Int32 bucket, System.DateTime Timestamp ) : System.Boolean
endpoint String
bucket System.Int32
Timestamp System.DateTime
return System.Boolean

CheckOrSave() public method

public CheckOrSave ( string endpoint, Int32 bucket, long position ) : bool
endpoint string
bucket System.Int32
position long
return bool

ElasticCompetes() public method

public ElasticCompetes ( IElasticClient client ) : Aggregates
client IElasticClient
return Aggregates

Heartbeat() public method

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

LastHeartbeat() public method

public LastHeartbeat ( string endpoint, Int32 bucket ) : DateTime?
endpoint string
bucket System.Int32
return DateTime?

LastPosition() public method

public LastPosition ( string endpoint, Int32 bucket ) : long
endpoint string
bucket System.Int32
return long