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
Afficher le fichier Open project: blehnen/DotNetWorkQueue

Méthodes publiques

Méthode Description
LocalMachineUnixTime ( 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 as a long unix format; precision must be milliseconds

Method Details

GetUnixTime() protected méthode

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

LocalMachineUnixTime() public méthode

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.
Résultat System