C# Класс ServiceStack.Redis.RedisNativeClient

This class contains all the common operations for the RedisClient. The client contains a 1:1 mapping of c# methods to redis operations of the same name. Not threadsafe use a pooled manager
Наследование: IRedisNativeClient
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
Bstream BufferedStream
socket Socket
sslStream SslStream

Private Properties

Свойство Тип Описание
AssertHashIdAndKey void
AssertSetIdAndValue void
Discard void
DisposeConnection void
EndPipeline void
Exec void
GetRange byte[][]
GetRangeByScore byte[][]
GetRangeByScore byte[][]
Init void
Multi void
SafeConnectionClose void
SendExpectScanResult ServiceStack.Redis.ScanResult

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

Метод Описание
Append ( string key, byte value ) : long
BLPop ( string listId, int timeOutSecs ) : byte[][]
BLPopValue ( string listId, int timeOutSecs ) : byte[]
BLPopValue ( string listIds, int timeOutSecs ) : byte[][]
BRPop ( string listId, int timeOutSecs ) : byte[][]
BRPopLPush ( string fromListId, string toListId, int timeOutSecs ) : byte[]
BRPopValue ( string listId, int timeOutSecs ) : byte[]
BRPopValue ( string listIds, int timeOutSecs ) : byte[][]
BgRewriteAof ( ) : void
BgSave ( ) : void
BitCount ( string key ) : long
ChangeDb ( long db ) : void
ClientGetName ( ) : string
ClientKill ( string addr = null, string id = null, string type = null, string skipMe = null ) : long
ClientKill ( string clientAddr ) : void
ClientList ( ) : byte[]
ClientPause ( int timeOutMs ) : void
ClientSetName ( string name ) : void
ConfigGet ( string pattern ) : byte[][]
ConfigResetStat ( ) : void
ConfigRewrite ( ) : void
ConfigSet ( string item, byte value ) : void
CreatePipelineCommand ( ) : RedisPipelineCommand
CreateSubscription ( ) : IRedisSubscription
DebugSegfault ( ) : void
DebugSleep ( double durationSecs ) : void
Decr ( string key ) : long
DecrBy ( string key, int count ) : long
Del ( ) : long
Del ( byte key ) : long
Del ( string key ) : long
Dispose ( ) : void
Dump ( string key ) : byte[]
Echo ( string text ) : string
Exists ( string key ) : long
Expire ( byte key, int seconds ) : bool
Expire ( string key, int seconds ) : bool
ExpireAt ( string key, long unixTime ) : bool
FlushAll ( ) : void
FlushDb ( ) : void
GeoAdd ( string key ) : long
GeoAdd ( string key, double longitude, double latitude, string member ) : long
GeoDist ( string key, string fromMember, string toMember, string unit = null ) : double
GeoHash ( string key ) : string[]
GeoPos ( string key ) : List
GeoRadius ( string key, double longitude, double latitude, double radius, string unit, bool withCoords = false, bool withDist = false, bool withHash = false, int count = null, bool asc = null ) : List
GeoRadiusByMember ( string key, string member, double radius, string unit, bool withCoords = false, bool withDist = false, bool withHash = false, int count = null, bool asc = null ) : List
Get ( byte key ) : byte[]
Get ( string key ) : byte[]
GetBit ( string key, int offset ) : long
GetBytes ( string key ) : byte[]
GetEntryType ( string key ) : RedisKeyType
GetRange ( string key, int fromIndex, int toIndex ) : byte[]
GetSet ( string key, byte value ) : byte[]
HDel ( byte hashId, byte key ) : long
HDel ( string hashId, byte key ) : long
HExists ( string hashId, byte key ) : long
HGet ( byte hashId, byte key ) : byte[]
HGet ( string hashId, byte key ) : byte[]
HGetAll ( string hashId ) : byte[][]
HIncrby ( string hashId, byte key, int incrementBy ) : long
HIncrby ( string hashId, byte key, long incrementBy ) : long
HIncrbyFloat ( string hashId, byte key, double incrementBy ) : double
HKeys ( string hashId ) : byte[][]
HLen ( string hashId ) : long
HMGet ( string hashId ) : byte[][]
HMSet ( string hashId, byte keys, byte values ) : void
HScan ( string hashId, ulong cursor, int count = 10, string match = null ) : ServiceStack.Redis.ScanResult
HSet ( byte hashId, byte key, byte value ) : long
HSet ( string hashId, byte key, byte value ) : long
HSetNX ( string hashId, byte key, byte value ) : long
HVals ( string hashId ) : byte[][]
Incr ( string key ) : long
IncrBy ( string key, int count ) : long
IncrBy ( string key, long count ) : long
IncrByFloat ( string key, double incrBy ) : double
Keys ( string pattern ) : byte[][]
LIndex ( string listId, int listIndex ) : byte[]
LInsert ( string listId, bool insertBefore, byte pivot, byte value ) : void
LLen ( string listId ) : long
LPop ( string listId ) : byte[]
LPush ( string listId, byte value ) : long
LPushX ( string listId, byte value ) : long
LRange ( string listId, int startingFrom, int endingAt ) : byte[][]
LRem ( string listId, int removeNoOfMatches, byte value ) : long
LSet ( string listId, int listIndex, byte value ) : void
LTrim ( string listId, int keepStartingFrom, int keepEndingAt ) : void
MGet ( ) : byte[][]
MSet ( byte keys, byte values ) : void
MSet ( string keys, byte values ) : void
MSetNx ( byte keys, byte values ) : bool
MSetNx ( string keys, byte values ) : bool
Migrate ( string host, int port, string key, int destinationDb, long timeoutMs ) : void
Move ( string key, int db ) : bool
ObjectIdleTime ( string key ) : long
PExpire ( byte key, long ttlMs ) : bool
PExpire ( string key, long ttlMs ) : bool
PExpireAt ( string key, long unixTimeMs ) : bool
PSetEx ( string key, long expireInMs, byte value ) : void
PSubscribe ( ) : byte[][]
PTtl ( string key ) : long
PUnSubscribe ( ) : byte[][]
Persist ( string key ) : bool
PfAdd ( string key ) : bool
PfCount ( string key ) : long
PfMerge ( string toKeyId ) : void
Ping ( ) : bool
Publish ( string toChannel, byte message ) : long
Quit ( ) : void
RPop ( string listId ) : byte[]
RPopLPush ( string fromListId, string toListId ) : byte[]
RPush ( string listId, byte value ) : long
RPushX ( string listId, byte value ) : long
RandomKey ( ) : string
RawCommand ( ) : ServiceStack.Redis.RedisData
ReceiveMessages ( ) : byte[][]
RedisNativeClient ( ) : System
RedisNativeClient ( RedisEndpoint config ) : System
RedisNativeClient ( string connectionString ) : System
RedisNativeClient ( string host, int port ) : System
RedisNativeClient ( string host, int port, string password = null, long db = RedisConfig.DefaultDb ) : System
Rename ( string oldKeyname, string newKeyname ) : void
RenameNx ( string oldKeyname, string newKeyname ) : bool
Restore ( string key, long expireMs, byte dumpValue ) : byte[]
Role ( ) : ServiceStack.Redis.RedisText
SAdd ( string setId, byte value ) : long
SCard ( string setId ) : long
SDiff ( string fromSetId ) : byte[][]
SDiffStore ( string intoSetId, string fromSetId ) : void
SInter ( ) : byte[][]
SInterStore ( string intoSetId ) : void
SIsMember ( string setId, byte value ) : long
SMembers ( string setId ) : byte[][]
SMove ( string fromSetId, string toSetId, byte value ) : void
SPop ( string setId ) : byte[]
SPop ( string setId, int count ) : byte[][]
SRandMember ( string setId ) : byte[]
SRandMember ( string setId, int count ) : byte[][]
SRem ( string setId, byte value ) : long
SScan ( string setId, ulong cursor, int count = 10, string match = null ) : ServiceStack.Redis.ScanResult
SUnion ( ) : byte[][]
SUnionStore ( string intoSetId ) : void
Save ( ) : void
SaveAsync ( ) : void
Scan ( ulong cursor, int count = 10, string match = null ) : ServiceStack.Redis.ScanResult
SentinelFailover ( string masterName ) : void
SentinelGetMasterAddrByName ( string masterName ) : List
SentinelMaster ( string masterName ) : string>.Dictionary
SentinelMasters ( ) : string>>.List
SentinelSentinels ( string masterName ) : string>>.List
SentinelSlaves ( string masterName ) : string>>.List
Set ( string key, byte value, bool exists, int expirySeconds, long expiryMs ) : bool
Set ( byte key, byte value, int expirySeconds, long expiryMs ) : void
Set ( string key, byte value ) : void
Set ( string key, byte value, int expirySeconds, long expiryMs ) : void
SetBit ( string key, int offset, int value ) : long
SetEx ( byte key, int expireInSeconds, byte value ) : void
SetEx ( string key, int expireInSeconds, byte value ) : void
SetNX ( string key, byte value ) : long
SetRange ( string key, int offset, byte value ) : long
Shutdown ( ) : void
ShutdownNoSave ( ) : void
SlaveOf ( string hostname, int port ) : void
SlaveOfNoOne ( ) : void
Slowlog ( int top ) : object[]
SlowlogReset ( ) : void
Sort ( string listOrSetId, ServiceStack.Redis.SortOptions sortOptions ) : byte[][]
StrLen ( string key ) : long
Subscribe ( ) : byte[][]
Time ( ) : byte[][]
Ttl ( string key ) : long
Type ( string key ) : string
UnSubscribe ( ) : byte[][]
UnWatch ( ) : void
Watch ( ) : void
ZAdd ( string setId, double>.List pairs ) : long
ZAdd ( string setId, long>.List pairs ) : long
ZAdd ( string setId, double score, byte value ) : long
ZAdd ( string setId, long score, byte value ) : long
ZCard ( string setId ) : long
ZCount ( string setId, double min, double max ) : long
ZCount ( string setId, long min, long max ) : long
ZIncrBy ( string setId, double incrBy, byte value ) : double
ZIncrBy ( string setId, long incrBy, byte value ) : double
ZInterStore ( string intoSetId ) : long
ZInterStore ( string intoSetId, string setIds, string args ) : long
ZLexCount ( string setId, string min, string max ) : long
ZRange ( string setId, int min, int max ) : byte[][]
ZRangeByLex ( string setId, string min, string max, int skip = null, int take = null ) : byte[][]
ZRangeByScore ( string setId, double min, double max, int skip, int take ) : byte[][]
ZRangeByScore ( string setId, long min, long max, int skip, int take ) : byte[][]
ZRangeByScoreWithScores ( string setId, double min, double max, int skip, int take ) : byte[][]
ZRangeByScoreWithScores ( string setId, long min, long max, int skip, int take ) : byte[][]
ZRangeWithScores ( string setId, int min, int max ) : byte[][]
ZRank ( string setId, byte value ) : long
ZRem ( string setId, byte value ) : long
ZRemRangeByLex ( string setId, string min, string max ) : long
ZRemRangeByRank ( string setId, int min, int max ) : long
ZRemRangeByScore ( string setId, double fromScore, double toScore ) : long
ZRemRangeByScore ( string setId, long fromScore, long toScore ) : long
ZRevRange ( string setId, int min, int max ) : byte[][]
ZRevRangeByScore ( string setId, double min, double max, int skip, int take ) : byte[][]
ZRevRangeByScore ( string setId, long min, long max, int skip, int take ) : byte[][]
ZRevRangeByScoreWithScores ( string setId, double min, double max, int skip, int take ) : byte[][]
ZRevRangeByScoreWithScores ( string setId, long min, long max, int skip, int take ) : byte[][]
ZRevRangeWithScores ( string setId, int min, int max ) : byte[][]
ZRevRank ( string setId, byte value ) : long
ZScan ( string setId, ulong cursor, int count = 10, string match = null ) : ScanResult
ZScore ( string setId, byte value ) : double
ZUnionStore ( string intoSetId ) : long
ZUnionStore ( string intoSetId, string setIds, string args ) : long

Защищенные методы

Метод Описание
Dispose ( bool disposing ) : void

Приватные методы

Метод Описание
AssertHashIdAndKey ( object hashId, byte key ) : void
AssertSetIdAndValue ( string setId, byte value ) : void
Discard ( ) : void
DisposeConnection ( ) : void
EndPipeline ( ) : void
Exec ( ) : void

Requires custom result parsing

GetRange ( byte commandBytes, string setId, int min, int max, bool withScores ) : byte[][]
GetRangeByScore ( byte commandBytes, string setId, double min, double max, int skip, int take, bool withScores ) : byte[][]
GetRangeByScore ( byte commandBytes, string setId, long min, long max, int skip, int take, bool withScores ) : byte[][]
Init ( RedisEndpoint config ) : void
Multi ( ) : void
SafeConnectionClose ( ) : void
SendExpectScanResult ( byte cmd ) : ServiceStack.Redis.ScanResult

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

Append() публичный Метод

public Append ( string key, byte value ) : long
key string
value byte
Результат long

BLPop() публичный Метод

public BLPop ( string listId, int timeOutSecs ) : byte[][]
listId string
timeOutSecs int
Результат byte[][]

BLPopValue() публичный Метод

public BLPopValue ( string listId, int timeOutSecs ) : byte[]
listId string
timeOutSecs int
Результат byte[]

BLPopValue() публичный Метод

public BLPopValue ( string listIds, int timeOutSecs ) : byte[][]
listIds string
timeOutSecs int
Результат byte[][]

BRPop() публичный Метод

public BRPop ( string listId, int timeOutSecs ) : byte[][]
listId string
timeOutSecs int
Результат byte[][]

BRPopLPush() публичный Метод

public BRPopLPush ( string fromListId, string toListId, int timeOutSecs ) : byte[]
fromListId string
toListId string
timeOutSecs int
Результат byte[]

BRPopValue() публичный Метод

public BRPopValue ( string listId, int timeOutSecs ) : byte[]
listId string
timeOutSecs int
Результат byte[]

BRPopValue() публичный Метод

public BRPopValue ( string listIds, int timeOutSecs ) : byte[][]
listIds string
timeOutSecs int
Результат byte[][]

BgRewriteAof() публичный Метод

public BgRewriteAof ( ) : void
Результат void

BgSave() публичный Метод

public BgSave ( ) : void
Результат void

BitCount() публичный Метод

public BitCount ( string key ) : long
key string
Результат long

ChangeDb() публичный Метод

public ChangeDb ( long db ) : void
db long
Результат void

ClientGetName() публичный Метод

public ClientGetName ( ) : string
Результат string

ClientKill() публичный Метод

public ClientKill ( string addr = null, string id = null, string type = null, string skipMe = null ) : long
addr string
id string
type string
skipMe string
Результат long

ClientKill() публичный Метод

public ClientKill ( string clientAddr ) : void
clientAddr string
Результат void

ClientList() публичный Метод

public ClientList ( ) : byte[]
Результат byte[]

ClientPause() публичный Метод

public ClientPause ( int timeOutMs ) : void
timeOutMs int
Результат void

ClientSetName() публичный Метод

public ClientSetName ( string name ) : void
name string
Результат void

ConfigGet() публичный Метод

public ConfigGet ( string pattern ) : byte[][]
pattern string
Результат byte[][]

ConfigResetStat() публичный Метод

public ConfigResetStat ( ) : void
Результат void

ConfigRewrite() публичный Метод

public ConfigRewrite ( ) : void
Результат void

ConfigSet() публичный Метод

public ConfigSet ( string item, byte value ) : void
item string
value byte
Результат void

CreatePipelineCommand() публичный Метод

public CreatePipelineCommand ( ) : RedisPipelineCommand
Результат RedisPipelineCommand

CreateSubscription() публичный Метод

public CreateSubscription ( ) : IRedisSubscription
Результат IRedisSubscription

DebugSegfault() публичный Метод

public DebugSegfault ( ) : void
Результат void

DebugSleep() публичный Метод

public DebugSleep ( double durationSecs ) : void
durationSecs double
Результат void

Decr() публичный Метод

public Decr ( string key ) : long
key string
Результат long

DecrBy() публичный Метод

public DecrBy ( string key, int count ) : long
key string
count int
Результат long

Del() публичный Метод

public Del ( ) : long
Результат long

Del() публичный Метод

public Del ( byte key ) : long
key byte
Результат long

Del() публичный Метод

public Del ( string key ) : long
key string
Результат long

Dispose() публичный Метод

public Dispose ( ) : void
Результат void

Dispose() защищенный Метод

protected Dispose ( bool disposing ) : void
disposing bool
Результат void

Dump() публичный Метод

public Dump ( string key ) : byte[]
key string
Результат byte[]

Echo() публичный Метод

public Echo ( string text ) : string
text string
Результат string

Exists() публичный Метод

public Exists ( string key ) : long
key string
Результат long

Expire() публичный Метод

public Expire ( byte key, int seconds ) : bool
key byte
seconds int
Результат bool

Expire() публичный Метод

public Expire ( string key, int seconds ) : bool
key string
seconds int
Результат bool

ExpireAt() публичный Метод

public ExpireAt ( string key, long unixTime ) : bool
key string
unixTime long
Результат bool

FlushAll() публичный Метод

public FlushAll ( ) : void
Результат void

FlushDb() публичный Метод

public FlushDb ( ) : void
Результат void

GeoAdd() публичный Метод

public GeoAdd ( string key ) : long
key string
Результат long

GeoAdd() публичный Метод

public GeoAdd ( string key, double longitude, double latitude, string member ) : long
key string
longitude double
latitude double
member string
Результат long

GeoDist() публичный Метод

public GeoDist ( string key, string fromMember, string toMember, string unit = null ) : double
key string
fromMember string
toMember string
unit string
Результат double

GeoHash() публичный Метод

public GeoHash ( string key ) : string[]
key string
Результат string[]

GeoPos() публичный Метод

public GeoPos ( string key ) : List
key string
Результат List

GeoRadius() публичный Метод

public GeoRadius ( string key, double longitude, double latitude, double radius, string unit, bool withCoords = false, bool withDist = false, bool withHash = false, int count = null, bool asc = null ) : List
key string
longitude double
latitude double
radius double
unit string
withCoords bool
withDist bool
withHash bool
count int
asc bool
Результат List

GeoRadiusByMember() публичный Метод

public GeoRadiusByMember ( string key, string member, double radius, string unit, bool withCoords = false, bool withDist = false, bool withHash = false, int count = null, bool asc = null ) : List
key string
member string
radius double
unit string
withCoords bool
withDist bool
withHash bool
count int
asc bool
Результат List

Get() публичный Метод

public Get ( byte key ) : byte[]
key byte
Результат byte[]

Get() публичный Метод

public Get ( string key ) : byte[]
key string
Результат byte[]

GetBit() публичный Метод

public GetBit ( string key, int offset ) : long
key string
offset int
Результат long

GetBytes() публичный Метод

public GetBytes ( string key ) : byte[]
key string
Результат byte[]

GetEntryType() публичный Метод

public GetEntryType ( string key ) : RedisKeyType
key string
Результат RedisKeyType

GetRange() публичный Метод

public GetRange ( string key, int fromIndex, int toIndex ) : byte[]
key string
fromIndex int
toIndex int
Результат byte[]

GetSet() публичный Метод

public GetSet ( string key, byte value ) : byte[]
key string
value byte
Результат byte[]

HDel() публичный Метод

public HDel ( byte hashId, byte key ) : long
hashId byte
key byte
Результат long

HDel() публичный Метод

public HDel ( string hashId, byte key ) : long
hashId string
key byte
Результат long

HExists() публичный Метод

public HExists ( string hashId, byte key ) : long
hashId string
key byte
Результат long

HGet() публичный Метод

public HGet ( byte hashId, byte key ) : byte[]
hashId byte
key byte
Результат byte[]

HGet() публичный Метод

public HGet ( string hashId, byte key ) : byte[]
hashId string
key byte
Результат byte[]

HGetAll() публичный Метод

public HGetAll ( string hashId ) : byte[][]
hashId string
Результат byte[][]

HIncrby() публичный Метод

public HIncrby ( string hashId, byte key, int incrementBy ) : long
hashId string
key byte
incrementBy int
Результат long

HIncrby() публичный Метод

public HIncrby ( string hashId, byte key, long incrementBy ) : long
hashId string
key byte
incrementBy long
Результат long

HIncrbyFloat() публичный Метод

public HIncrbyFloat ( string hashId, byte key, double incrementBy ) : double
hashId string
key byte
incrementBy double
Результат double

HKeys() публичный Метод

public HKeys ( string hashId ) : byte[][]
hashId string
Результат byte[][]

HLen() публичный Метод

public HLen ( string hashId ) : long
hashId string
Результат long

HMGet() публичный Метод

public HMGet ( string hashId ) : byte[][]
hashId string
Результат byte[][]

HMSet() публичный Метод

public HMSet ( string hashId, byte keys, byte values ) : void
hashId string
keys byte
values byte
Результат void

HScan() публичный Метод

public HScan ( string hashId, ulong cursor, int count = 10, string match = null ) : ServiceStack.Redis.ScanResult
hashId string
cursor ulong
count int
match string
Результат ServiceStack.Redis.ScanResult

HSet() публичный Метод

public HSet ( byte hashId, byte key, byte value ) : long
hashId byte
key byte
value byte
Результат long

HSet() публичный Метод

public HSet ( string hashId, byte key, byte value ) : long
hashId string
key byte
value byte
Результат long

HSetNX() публичный Метод

public HSetNX ( string hashId, byte key, byte value ) : long
hashId string
key byte
value byte
Результат long

HVals() публичный Метод

public HVals ( string hashId ) : byte[][]
hashId string
Результат byte[][]

Incr() публичный Метод

public Incr ( string key ) : long
key string
Результат long

IncrBy() публичный Метод

public IncrBy ( string key, int count ) : long
key string
count int
Результат long

IncrBy() публичный Метод

public IncrBy ( string key, long count ) : long
key string
count long
Результат long

IncrByFloat() публичный Метод

public IncrByFloat ( string key, double incrBy ) : double
key string
incrBy double
Результат double

Keys() публичный Метод

public Keys ( string pattern ) : byte[][]
pattern string
Результат byte[][]

LIndex() публичный Метод

public LIndex ( string listId, int listIndex ) : byte[]
listId string
listIndex int
Результат byte[]

LInsert() публичный Метод

public LInsert ( string listId, bool insertBefore, byte pivot, byte value ) : void
listId string
insertBefore bool
pivot byte
value byte
Результат void

LLen() публичный Метод

public LLen ( string listId ) : long
listId string
Результат long

LPop() публичный Метод

public LPop ( string listId ) : byte[]
listId string
Результат byte[]

LPush() публичный Метод

public LPush ( string listId, byte value ) : long
listId string
value byte
Результат long

LPushX() публичный Метод

public LPushX ( string listId, byte value ) : long
listId string
value byte
Результат long

LRange() публичный Метод

public LRange ( string listId, int startingFrom, int endingAt ) : byte[][]
listId string
startingFrom int
endingAt int
Результат byte[][]

LRem() публичный Метод

public LRem ( string listId, int removeNoOfMatches, byte value ) : long
listId string
removeNoOfMatches int
value byte
Результат long

LSet() публичный Метод

public LSet ( string listId, int listIndex, byte value ) : void
listId string
listIndex int
value byte
Результат void

LTrim() публичный Метод

public LTrim ( string listId, int keepStartingFrom, int keepEndingAt ) : void
listId string
keepStartingFrom int
keepEndingAt int
Результат void

MGet() публичный Метод

public MGet ( ) : byte[][]
Результат byte[][]

MSet() публичный Метод

public MSet ( byte keys, byte values ) : void
keys byte
values byte
Результат void

MSet() публичный Метод

public MSet ( string keys, byte values ) : void
keys string
values byte
Результат void

MSetNx() публичный Метод

public MSetNx ( byte keys, byte values ) : bool
keys byte
values byte
Результат bool

MSetNx() публичный Метод

public MSetNx ( string keys, byte values ) : bool
keys string
values byte
Результат bool

Migrate() публичный Метод

public Migrate ( string host, int port, string key, int destinationDb, long timeoutMs ) : void
host string
port int
key string
destinationDb int
timeoutMs long
Результат void

Move() публичный Метод

public Move ( string key, int db ) : bool
key string
db int
Результат bool

ObjectIdleTime() публичный Метод

public ObjectIdleTime ( string key ) : long
key string
Результат long

PExpire() публичный Метод

public PExpire ( byte key, long ttlMs ) : bool
key byte
ttlMs long
Результат bool

PExpire() публичный Метод

public PExpire ( string key, long ttlMs ) : bool
key string
ttlMs long
Результат bool

PExpireAt() публичный Метод

public PExpireAt ( string key, long unixTimeMs ) : bool
key string
unixTimeMs long
Результат bool

PSetEx() публичный Метод

public PSetEx ( string key, long expireInMs, byte value ) : void
key string
expireInMs long
value byte
Результат void

PSubscribe() публичный Метод

public PSubscribe ( ) : byte[][]
Результат byte[][]

PTtl() публичный Метод

public PTtl ( string key ) : long
key string
Результат long

PUnSubscribe() публичный Метод

public PUnSubscribe ( ) : byte[][]
Результат byte[][]

Persist() публичный Метод

public Persist ( string key ) : bool
key string
Результат bool

PfAdd() публичный Метод

public PfAdd ( string key ) : bool
key string
Результат bool

PfCount() публичный Метод

public PfCount ( string key ) : long
key string
Результат long

PfMerge() публичный Метод

public PfMerge ( string toKeyId ) : void
toKeyId string
Результат void

Ping() публичный Метод

public Ping ( ) : bool
Результат bool

Publish() публичный Метод

public Publish ( string toChannel, byte message ) : long
toChannel string
message byte
Результат long

Quit() публичный Метод

public Quit ( ) : void
Результат void

RPop() публичный Метод

public RPop ( string listId ) : byte[]
listId string
Результат byte[]

RPopLPush() публичный Метод

public RPopLPush ( string fromListId, string toListId ) : byte[]
fromListId string
toListId string
Результат byte[]

RPush() публичный Метод

public RPush ( string listId, byte value ) : long
listId string
value byte
Результат long

RPushX() публичный Метод

public RPushX ( string listId, byte value ) : long
listId string
value byte
Результат long

RandomKey() публичный Метод

public RandomKey ( ) : string
Результат string

RawCommand() публичный Метод

public RawCommand ( ) : ServiceStack.Redis.RedisData
Результат ServiceStack.Redis.RedisData

ReceiveMessages() публичный Метод

public ReceiveMessages ( ) : byte[][]
Результат byte[][]

RedisNativeClient() публичный Метод

public RedisNativeClient ( ) : System
Результат System

RedisNativeClient() публичный Метод

public RedisNativeClient ( RedisEndpoint config ) : System
config RedisEndpoint
Результат System

RedisNativeClient() публичный Метод

public RedisNativeClient ( string connectionString ) : System
connectionString string
Результат System

RedisNativeClient() публичный Метод

public RedisNativeClient ( string host, int port ) : System
host string
port int
Результат System

RedisNativeClient() публичный Метод

public RedisNativeClient ( string host, int port, string password = null, long db = RedisConfig.DefaultDb ) : System
host string
port int
password string
db long
Результат System

Rename() публичный Метод

public Rename ( string oldKeyname, string newKeyname ) : void
oldKeyname string
newKeyname string
Результат void

RenameNx() публичный Метод

public RenameNx ( string oldKeyname, string newKeyname ) : bool
oldKeyname string
newKeyname string
Результат bool

Restore() публичный Метод

public Restore ( string key, long expireMs, byte dumpValue ) : byte[]
key string
expireMs long
dumpValue byte
Результат byte[]

Role() публичный Метод

public Role ( ) : ServiceStack.Redis.RedisText
Результат ServiceStack.Redis.RedisText

SAdd() публичный Метод

public SAdd ( string setId, byte value ) : long
setId string
value byte
Результат long

SCard() публичный Метод

public SCard ( string setId ) : long
setId string
Результат long

SDiff() публичный Метод

public SDiff ( string fromSetId ) : byte[][]
fromSetId string
Результат byte[][]

SDiffStore() публичный Метод

public SDiffStore ( string intoSetId, string fromSetId ) : void
intoSetId string
fromSetId string
Результат void

SInter() публичный Метод

public SInter ( ) : byte[][]
Результат byte[][]

SInterStore() публичный Метод

public SInterStore ( string intoSetId ) : void
intoSetId string
Результат void

SIsMember() публичный Метод

public SIsMember ( string setId, byte value ) : long
setId string
value byte
Результат long

SMembers() публичный Метод

public SMembers ( string setId ) : byte[][]
setId string
Результат byte[][]

SMove() публичный Метод

public SMove ( string fromSetId, string toSetId, byte value ) : void
fromSetId string
toSetId string
value byte
Результат void

SPop() публичный Метод

public SPop ( string setId ) : byte[]
setId string
Результат byte[]

SPop() публичный Метод

public SPop ( string setId, int count ) : byte[][]
setId string
count int
Результат byte[][]

SRandMember() публичный Метод

public SRandMember ( string setId ) : byte[]
setId string
Результат byte[]

SRandMember() публичный Метод

public SRandMember ( string setId, int count ) : byte[][]
setId string
count int
Результат byte[][]

SRem() публичный Метод

public SRem ( string setId, byte value ) : long
setId string
value byte
Результат long

SScan() публичный Метод

public SScan ( string setId, ulong cursor, int count = 10, string match = null ) : ServiceStack.Redis.ScanResult
setId string
cursor ulong
count int
match string
Результат ServiceStack.Redis.ScanResult

SUnion() публичный Метод

public SUnion ( ) : byte[][]
Результат byte[][]

SUnionStore() публичный Метод

public SUnionStore ( string intoSetId ) : void
intoSetId string
Результат void

Save() публичный Метод

public Save ( ) : void
Результат void

SaveAsync() публичный Метод

public SaveAsync ( ) : void
Результат void

Scan() публичный Метод

public Scan ( ulong cursor, int count = 10, string match = null ) : ServiceStack.Redis.ScanResult
cursor ulong
count int
match string
Результат ServiceStack.Redis.ScanResult

SentinelFailover() публичный Метод

public SentinelFailover ( string masterName ) : void
masterName string
Результат void

SentinelGetMasterAddrByName() публичный Метод

public SentinelGetMasterAddrByName ( string masterName ) : List
masterName string
Результат List

SentinelMaster() публичный Метод

public SentinelMaster ( string masterName ) : string>.Dictionary
masterName string
Результат string>.Dictionary

SentinelMasters() публичный Метод

public SentinelMasters ( ) : string>>.List
Результат string>>.List

SentinelSentinels() публичный Метод

public SentinelSentinels ( string masterName ) : string>>.List
masterName string
Результат string>>.List

SentinelSlaves() публичный Метод

public SentinelSlaves ( string masterName ) : string>>.List
masterName string
Результат string>>.List

Set() публичный Метод

public Set ( string key, byte value, bool exists, int expirySeconds, long expiryMs ) : bool
key string
value byte
exists bool
expirySeconds int
expiryMs long
Результат bool

Set() публичный Метод

public Set ( byte key, byte value, int expirySeconds, long expiryMs ) : void
key byte
value byte
expirySeconds int
expiryMs long
Результат void

Set() публичный Метод

public Set ( string key, byte value ) : void
key string
value byte
Результат void

Set() публичный Метод

public Set ( string key, byte value, int expirySeconds, long expiryMs ) : void
key string
value byte
expirySeconds int
expiryMs long
Результат void

SetBit() публичный Метод

public SetBit ( string key, int offset, int value ) : long
key string
offset int
value int
Результат long

SetEx() публичный Метод

public SetEx ( byte key, int expireInSeconds, byte value ) : void
key byte
expireInSeconds int
value byte
Результат void

SetEx() публичный Метод

public SetEx ( string key, int expireInSeconds, byte value ) : void
key string
expireInSeconds int
value byte
Результат void

SetNX() публичный Метод

public SetNX ( string key, byte value ) : long
key string
value byte
Результат long

SetRange() публичный Метод

public SetRange ( string key, int offset, byte value ) : long
key string
offset int
value byte
Результат long

Shutdown() публичный Метод

public Shutdown ( ) : void
Результат void

ShutdownNoSave() публичный Метод

public ShutdownNoSave ( ) : void
Результат void

SlaveOf() публичный Метод

public SlaveOf ( string hostname, int port ) : void
hostname string
port int
Результат void

SlaveOfNoOne() публичный Метод

public SlaveOfNoOne ( ) : void
Результат void

Slowlog() публичный Метод

public Slowlog ( int top ) : object[]
top int
Результат object[]

SlowlogReset() публичный Метод

public SlowlogReset ( ) : void
Результат void

Sort() публичный Метод

public Sort ( string listOrSetId, ServiceStack.Redis.SortOptions sortOptions ) : byte[][]
listOrSetId string
sortOptions ServiceStack.Redis.SortOptions
Результат byte[][]

StrLen() публичный Метод

public StrLen ( string key ) : long
key string
Результат long

Subscribe() публичный Метод

public Subscribe ( ) : byte[][]
Результат byte[][]

Time() публичный Метод

public Time ( ) : byte[][]
Результат byte[][]

Ttl() публичный Метод

public Ttl ( string key ) : long
key string
Результат long

Type() публичный Метод

public Type ( string key ) : string
key string
Результат string

UnSubscribe() публичный Метод

public UnSubscribe ( ) : byte[][]
Результат byte[][]

UnWatch() публичный Метод

public UnWatch ( ) : void
Результат void

Watch() публичный Метод

public Watch ( ) : void
Результат void

ZAdd() публичный Метод

public ZAdd ( string setId, double>.List pairs ) : long
setId string
pairs double>.List
Результат long

ZAdd() публичный Метод

public ZAdd ( string setId, long>.List pairs ) : long
setId string
pairs long>.List
Результат long

ZAdd() публичный Метод

public ZAdd ( string setId, double score, byte value ) : long
setId string
score double
value byte
Результат long

ZAdd() публичный Метод

public ZAdd ( string setId, long score, byte value ) : long
setId string
score long
value byte
Результат long

ZCard() публичный Метод

public ZCard ( string setId ) : long
setId string
Результат long

ZCount() публичный Метод

public ZCount ( string setId, double min, double max ) : long
setId string
min double
max double
Результат long

ZCount() публичный Метод

public ZCount ( string setId, long min, long max ) : long
setId string
min long
max long
Результат long

ZIncrBy() публичный Метод

public ZIncrBy ( string setId, double incrBy, byte value ) : double
setId string
incrBy double
value byte
Результат double

ZIncrBy() публичный Метод

public ZIncrBy ( string setId, long incrBy, byte value ) : double
setId string
incrBy long
value byte
Результат double

ZInterStore() публичный Метод

public ZInterStore ( string intoSetId ) : long
intoSetId string
Результат long

ZInterStore() публичный Метод

public ZInterStore ( string intoSetId, string setIds, string args ) : long
intoSetId string
setIds string
args string
Результат long

ZLexCount() публичный Метод

public ZLexCount ( string setId, string min, string max ) : long
setId string
min string
max string
Результат long

ZRange() публичный Метод

public ZRange ( string setId, int min, int max ) : byte[][]
setId string
min int
max int
Результат byte[][]

ZRangeByLex() публичный Метод

public ZRangeByLex ( string setId, string min, string max, int skip = null, int take = null ) : byte[][]
setId string
min string
max string
skip int
take int
Результат byte[][]

ZRangeByScore() публичный Метод

public ZRangeByScore ( string setId, double min, double max, int skip, int take ) : byte[][]
setId string
min double
max double
skip int
take int
Результат byte[][]

ZRangeByScore() публичный Метод

public ZRangeByScore ( string setId, long min, long max, int skip, int take ) : byte[][]
setId string
min long
max long
skip int
take int
Результат byte[][]

ZRangeByScoreWithScores() публичный Метод

public ZRangeByScoreWithScores ( string setId, double min, double max, int skip, int take ) : byte[][]
setId string
min double
max double
skip int
take int
Результат byte[][]

ZRangeByScoreWithScores() публичный Метод

public ZRangeByScoreWithScores ( string setId, long min, long max, int skip, int take ) : byte[][]
setId string
min long
max long
skip int
take int
Результат byte[][]

ZRangeWithScores() публичный Метод

public ZRangeWithScores ( string setId, int min, int max ) : byte[][]
setId string
min int
max int
Результат byte[][]

ZRank() публичный Метод

public ZRank ( string setId, byte value ) : long
setId string
value byte
Результат long

ZRem() публичный Метод

public ZRem ( string setId, byte value ) : long
setId string
value byte
Результат long

ZRemRangeByLex() публичный Метод

public ZRemRangeByLex ( string setId, string min, string max ) : long
setId string
min string
max string
Результат long

ZRemRangeByRank() публичный Метод

public ZRemRangeByRank ( string setId, int min, int max ) : long
setId string
min int
max int
Результат long

ZRemRangeByScore() публичный Метод

public ZRemRangeByScore ( string setId, double fromScore, double toScore ) : long
setId string
fromScore double
toScore double
Результат long

ZRemRangeByScore() публичный Метод

public ZRemRangeByScore ( string setId, long fromScore, long toScore ) : long
setId string
fromScore long
toScore long
Результат long

ZRevRange() публичный Метод

public ZRevRange ( string setId, int min, int max ) : byte[][]
setId string
min int
max int
Результат byte[][]

ZRevRangeByScore() публичный Метод

public ZRevRangeByScore ( string setId, double min, double max, int skip, int take ) : byte[][]
setId string
min double
max double
skip int
take int
Результат byte[][]

ZRevRangeByScore() публичный Метод

public ZRevRangeByScore ( string setId, long min, long max, int skip, int take ) : byte[][]
setId string
min long
max long
skip int
take int
Результат byte[][]

ZRevRangeByScoreWithScores() публичный Метод

public ZRevRangeByScoreWithScores ( string setId, double min, double max, int skip, int take ) : byte[][]
setId string
min double
max double
skip int
take int
Результат byte[][]

ZRevRangeByScoreWithScores() публичный Метод

public ZRevRangeByScoreWithScores ( string setId, long min, long max, int skip, int take ) : byte[][]
setId string
min long
max long
skip int
take int
Результат byte[][]

ZRevRangeWithScores() публичный Метод

public ZRevRangeWithScores ( string setId, int min, int max ) : byte[][]
setId string
min int
max int
Результат byte[][]

ZRevRank() публичный Метод

public ZRevRank ( string setId, byte value ) : long
setId string
value byte
Результат long

ZScan() публичный Метод

public ZScan ( string setId, ulong cursor, int count = 10, string match = null ) : ScanResult
setId string
cursor ulong
count int
match string
Результат ScanResult

ZScore() публичный Метод

public ZScore ( string setId, byte value ) : double
setId string
value byte
Результат double

ZUnionStore() публичный Метод

public ZUnionStore ( string intoSetId ) : long
intoSetId string
Результат long

ZUnionStore() публичный Метод

public ZUnionStore ( string intoSetId, string setIds, string args ) : long
intoSetId string
setIds string
args string
Результат long

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

Bstream защищенное свойство

protected BufferedStream Bstream
Результат BufferedStream

socket защищенное свойство

protected Socket socket
Результат Socket

sslStream защищенное свойство

protected SslStream sslStream
Результат SslStream