Table of Contents

Class CommandMap

Namespace
StackExchange.Redis
Assembly
StackExchange.Redis.StrongName.dll

Represents the commands mapped on a particular configuration

public sealed class CommandMap
Inheritance
CommandMap
Inherited Members

Properties

Default

The default commands specified by redis

public static CommandMap Default { get; }

Property Value

CommandMap

SSDB

The commands available to http://www.ideawu.com/ssdb/

public static CommandMap SSDB { get; }

Property Value

CommandMap

Remarks

Sentinel

The commands available to http://redis.io/topics/sentinel

public static CommandMap Sentinel { get; }

Property Value

CommandMap

Remarks

Twemproxy

The commands available to https://github.com/twitter/twemproxy

public static CommandMap Twemproxy { get; }

Property Value

CommandMap

Remarks

Methods

Create(Dictionary<string, string>)

Create a new CommandMap, customizing some commands

public static CommandMap Create(Dictionary<string, string> overrides)

Parameters

overrides Dictionary<string, string>

Returns

CommandMap

Create(HashSet<string>, bool)

Creates a CommandMap by specifying which commands are available or unavailable

public static CommandMap Create(HashSet<string> commands, bool available = true)

Parameters

commands HashSet<string>
available bool

Returns

CommandMap

ToString()

See Object.ToString()

public override string ToString()

Returns

string