Table of Contents

Struct RedisFeatures

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

Provides basic information about the features available on a particular version of Redis

public struct RedisFeatures
Inherited Members

Constructors

RedisFeatures(Version)

Create a new RedisFeatures instance for the given version

public RedisFeatures(Version version)

Parameters

version Version

Properties

BitwiseOperations

Does BITOP / BITCOUNT exist?

public bool BitwiseOperations { get; }

Property Value

bool

ClientName

Is CLIENT SETNAME available?

public bool ClientName { get; }

Property Value

bool

ExecAbort

Does EXEC support EXECABORT if there are errors?

public bool ExecAbort { get; }

Property Value

bool

ExpireOverwrite

Can EXPIRE be used to set expiration on a key that is already volatile (i.e. has an expiration)?

public bool ExpireOverwrite { get; }

Property Value

bool

Geo

Are the GEO commands available?

public bool Geo { get; }

Property Value

bool

HashVaradicDelete

Does HDEL support varadic usage?

public bool HashVaradicDelete { get; }

Property Value

bool

HyperLogLogCountSlaveSafe

Is PFCOUNT supported on slaves?

public bool HyperLogLogCountSlaveSafe { get; }

Property Value

bool

IncrementFloat

Does INCRBYFLOAT / HINCRBYFLOAT exist?

public bool IncrementFloat { get; }

Property Value

bool

InfoSections

Does INFO support sections?

public bool InfoSections { get; }

Property Value

bool

ListInsert

Is LINSERT available?

public bool ListInsert { get; }

Property Value

bool

MillisecondExpiry

Indicates whether PEXPIRE and PTTL are supported

public bool MillisecondExpiry { get; }

Property Value

bool

MultipleRandom

Does SRANDMEMBER support "count"?

public bool MultipleRandom { get; }

Property Value

bool

Persist

Is the PERSIST operation supported?

public bool Persist { get; }

Property Value

bool

PushIfNotExists

Is RPUSHX and LPUSHX available?

public bool PushIfNotExists { get; }

Property Value

bool

Scan

Are cursor-based scans available?

public bool Scan { get; }

Property Value

bool

Scripting

Does EVAL / EVALSHA / etc exist?

public bool Scripting { get; }

Property Value

bool

ScriptingDatabaseSafe

Are Lua changes to the calling database transparent to the calling client?

public bool ScriptingDatabaseSafe { get; }

Property Value

bool

SetConditional

Does SET have the EX|PX|NX|XX extensions?

public bool SetConditional { get; }

Property Value

bool

SetVaradicAddRemove

Does SADD support varadic usage?

public bool SetVaradicAddRemove { get; }

Property Value

bool

StringLength

Is STRLEN available?

public bool StringLength { get; }

Property Value

bool

StringSetRange

Is SETRANGE available?

public bool StringSetRange { get; }

Property Value

bool

Time

Does TIME exist?

public bool Time { get; }

Property Value

bool

Version

The Redis version of the server

public Version Version { get; }

Property Value

Version

Methods

ToString()

Create a string representation of the available features

public override string ToString()

Returns

string