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
ClientName
Is CLIENT SETNAME available?
public bool ClientName { get; }
Property Value
ExecAbort
Does EXEC support EXECABORT if there are errors?
public bool ExecAbort { get; }
Property Value
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
Geo
Are the GEO commands available?
public bool Geo { get; }
Property Value
HashVaradicDelete
Does HDEL support varadic usage?
public bool HashVaradicDelete { get; }
Property Value
HyperLogLogCountSlaveSafe
Is PFCOUNT supported on slaves?
public bool HyperLogLogCountSlaveSafe { get; }
Property Value
IncrementFloat
Does INCRBYFLOAT / HINCRBYFLOAT exist?
public bool IncrementFloat { get; }
Property Value
InfoSections
Does INFO support sections?
public bool InfoSections { get; }
Property Value
ListInsert
Is LINSERT available?
public bool ListInsert { get; }
Property Value
MillisecondExpiry
Indicates whether PEXPIRE and PTTL are supported
public bool MillisecondExpiry { get; }
Property Value
MultipleRandom
Does SRANDMEMBER support "count"?
public bool MultipleRandom { get; }
Property Value
Persist
Is the PERSIST operation supported?
public bool Persist { get; }
Property Value
PushIfNotExists
Is RPUSHX and LPUSHX available?
public bool PushIfNotExists { get; }
Property Value
Scan
Are cursor-based scans available?
public bool Scan { get; }
Property Value
Scripting
Does EVAL / EVALSHA / etc exist?
public bool Scripting { get; }
Property Value
ScriptingDatabaseSafe
Are Lua changes to the calling database transparent to the calling client?
public bool ScriptingDatabaseSafe { get; }
Property Value
SetConditional
Does SET have the EX|PX|NX|XX extensions?
public bool SetConditional { get; }
Property Value
SetVaradicAddRemove
Does SADD support varadic usage?
public bool SetVaradicAddRemove { get; }
Property Value
StringLength
Is STRLEN available?
public bool StringLength { get; }
Property Value
StringSetRange
Is SETRANGE available?
public bool StringSetRange { get; }
Property Value
Time
Does TIME exist?
public bool Time { get; }
Property Value
Version
The Redis version of the server
public Version Version { get; }
Property Value
Methods
ToString()
Create a string representation of the available features
public override string ToString()