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
Show file Open project: blehnen/DotNetWorkQueue

Public Methods

Method Description
RedisServerUnixTime ( TimeLua timeLua, ILogFactory log, BaseTimeConfiguration configuration ) : System

Initializes a new instance of the RedisServerUnixTime class.

Protected Methods

Method Description
GetUnixTime ( ) : long

Gets the time from the redis server as needed.

Method Details

GetUnixTime() protected method

Gets the time from the redis server as needed.
protected GetUnixTime ( ) : long
return long

RedisServerUnixTime() public method

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.
return System