C# Class DotNetWorkQueue.Transport.Redis.Basic.Time.RedisServerUnixTime

Returns the current unix time, using the redis server(s)
If multiple redis servers are being used, their clocks must be in sync
Inheritance: BaseUnixTime
Afficher le fichier Open project: blehnen/DotNetWorkQueue

Méthodes publiques

Méthode Description
RedisServerUnixTime ( TimeLua timeLua, ILogFactory log, BaseTimeConfiguration configuration ) : System

Initializes a new instance of the RedisServerUnixTime class.

Méthodes protégées

Méthode Description
GetUnixTime ( ) : long

Gets the time from the redis server as needed.

Method Details

GetUnixTime() protected méthode

Gets the time from the redis server as needed.
protected GetUnixTime ( ) : long
Résultat long

RedisServerUnixTime() public méthode

Initializes a new instance of the RedisServerUnixTime class.
public RedisServerUnixTime ( TimeLua timeLua, ILogFactory log, BaseTimeConfiguration configuration ) : System
timeLua DotNetWorkQueue.Transport.Redis.Basic.Lua.TimeLua The time lua.
log ILogFactory The log.
configuration DotNetWorkQueue.Configuration.BaseTimeConfiguration The configuration.
Résultat System