C# Класс BB.Caching.Redis.Statistics

Statistics class to track basic statistics across multiple servers using redis.
Показать файл Открыть проект

Private Properties

Свойство Тип Описание

Открытые методы

Метод Описание
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.

Описание методов

GetStatistics() публичный статический Метод

Gets the statistics being tracked at key.
public static GetStatistics ( string key ) : Stats
key string /// The key. ///
Результат Stats

GetStatisticsAsync() публичный статический Метод

Gets the statistics being tracked at key.
public static GetStatisticsAsync ( string key ) : Task
key string /// The key. ///
Результат Task

ScriptLoad() публичный статический Метод

Loads the underlying Lua script(s) onto all necessary servers.
public static ScriptLoad ( ) : void
Результат void

SetStatistic() публичный статический Метод

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. ///
Результат void

SetStatisticAsync() публичный статический Метод

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. ///
Результат System.Threading.Tasks.Task