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

Returns the current unix time, using the local system clock
This should not be used in a multiple machine setup, unless the clocks are kept in sync
Inheritance: BaseUnixTime
Show file Open project: blehnen/DotNetWorkQueue

Public Methods

Method Description
LocalMachineUnixTime ( ILogFactory log, BaseTimeConfiguration configuration ) : System

Initializes a new instance of the RedisServerUnixTime class.

Protected Methods

Method Description
GetUnixTime ( ) : long

Gets the time as a long unix format; precision must be milliseconds

Method Details

GetUnixTime() protected method

Gets the time as a long unix format; precision must be milliseconds
protected GetUnixTime ( ) : long
return long

LocalMachineUnixTime() public method

Initializes a new instance of the RedisServerUnixTime class.
public LocalMachineUnixTime ( ILogFactory log, BaseTimeConfiguration configuration ) : System
log ILogFactory The log.
configuration DotNetWorkQueue.Configuration.BaseTimeConfiguration The configuration.
return System