C# Class BB.Caching.Redis.Statistics

Statistics class to track basic statistics across multiple servers using redis.
Afficher le fichier Open project: JesseBuesking/BB.Caching

Private Properties

Свойство Type Description

Méthodes publiques

Méthode Description
GetStatistics ( string key ) : Stats

Gets the statistics being tracked at key.

GetStatisticsAsync ( string key ) : Task

Gets the statistics being tracked at key.

ScriptLoad ( ) : void

Loads the underlying Lua script(s) onto all necessary servers.

SetStatistic ( string key, double value ) : void

Sets the value at the key for a statistic we're tracking.

SetStatisticAsync ( string key, double value ) : System.Threading.Tasks.Task

Sets the value at the key for a statistic we're tracking.

Method Details

GetStatistics() public static méthode

Gets the statistics being tracked at key.
public static GetStatistics ( string key ) : Stats
key string /// The key. ///
Résultat Stats

GetStatisticsAsync() public static méthode

Gets the statistics being tracked at key.
public static GetStatisticsAsync ( string key ) : Task
key string /// The key. ///
Résultat Task

ScriptLoad() public static méthode

Loads the underlying Lua script(s) onto all necessary servers.
public static ScriptLoad ( ) : void
Résultat void

SetStatistic() public static méthode

Sets the value at the key for a statistic we're tracking.
public static SetStatistic ( string key, double value ) : void
key string /// The key. ///
value double /// The value. ///
Résultat void

SetStatisticAsync() public static méthode

Sets the value at the key for a statistic we're tracking.
public static SetStatisticAsync ( string key, double value ) : System.Threading.Tasks.Task
key string /// The key. ///
value double /// The value. ///
Résultat System.Threading.Tasks.Task