C# Class 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
Inheritance: IRedisNativeClient
Afficher le fichier Open project: ServiceStack/ServiceStack.Redis Class Usage Examples

Protected Properties

Свойство Type Description
Bstream BufferedStream
socket Socket
sslStream SslStream

Private Properties

Свойство Type Description
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

Méthodes publiques

Méthode Description
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

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Private Methods

Méthode Description
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

Method Details

Append() public méthode

public Append ( string key, byte value ) : long
key string
value byte
Résultat long

BLPop() public méthode

public BLPop ( string listId, int timeOutSecs ) : byte[][]
listId string
timeOutSecs int
Résultat byte[][]

BLPopValue() public méthode

public BLPopValue ( string listId, int timeOutSecs ) : byte[]
listId string
timeOutSecs int
Résultat byte[]

BLPopValue() public méthode

public BLPopValue ( string listIds, int timeOutSecs ) : byte[][]
listIds string
timeOutSecs int
Résultat byte[][]

BRPop() public méthode

public BRPop ( string listId, int timeOutSecs ) : byte[][]
listId string
timeOutSecs int
Résultat byte[][]

BRPopLPush() public méthode

public BRPopLPush ( string fromListId, string toListId, int timeOutSecs ) : byte[]
fromListId string
toListId string
timeOutSecs int
Résultat byte[]

BRPopValue() public méthode

public BRPopValue ( string listId, int timeOutSecs ) : byte[]
listId string
timeOutSecs int
Résultat byte[]

BRPopValue() public méthode

public BRPopValue ( string listIds, int timeOutSecs ) : byte[][]
listIds string
timeOutSecs int
Résultat byte[][]

BgRewriteAof() public méthode

public BgRewriteAof ( ) : void
Résultat void

BgSave() public méthode

public BgSave ( ) : void
Résultat void

BitCount() public méthode

public BitCount ( string key ) : long
key string
Résultat long

ChangeDb() public méthode

public ChangeDb ( long db ) : void
db long
Résultat void

ClientGetName() public méthode

public ClientGetName ( ) : string
Résultat string

ClientKill() public méthode

public ClientKill ( string addr = null, string id = null, string type = null, string skipMe = null ) : long
addr string
id string
type string
skipMe string
Résultat long

ClientKill() public méthode

public ClientKill ( string clientAddr ) : void
clientAddr string
Résultat void

ClientList() public méthode

public ClientList ( ) : byte[]
Résultat byte[]

ClientPause() public méthode

public ClientPause ( int timeOutMs ) : void
timeOutMs int
Résultat void

ClientSetName() public méthode

public ClientSetName ( string name ) : void
name string
Résultat void

ConfigGet() public méthode

public ConfigGet ( string pattern ) : byte[][]
pattern string
Résultat byte[][]

ConfigResetStat() public méthode

public ConfigResetStat ( ) : void
Résultat void

ConfigRewrite() public méthode

public ConfigRewrite ( ) : void
Résultat void

ConfigSet() public méthode

public ConfigSet ( string item, byte value ) : void
item string
value byte
Résultat void

CreatePipelineCommand() public méthode

public CreatePipelineCommand ( ) : RedisPipelineCommand
Résultat RedisPipelineCommand

CreateSubscription() public méthode

public CreateSubscription ( ) : IRedisSubscription
Résultat IRedisSubscription

DebugSegfault() public méthode

public DebugSegfault ( ) : void
Résultat void

DebugSleep() public méthode

public DebugSleep ( double durationSecs ) : void
durationSecs double
Résultat void

Decr() public méthode

public Decr ( string key ) : long
key string
Résultat long

DecrBy() public méthode

public DecrBy ( string key, int count ) : long
key string
count int
Résultat long

Del() public méthode

public Del ( ) : long
Résultat long

Del() public méthode

public Del ( byte key ) : long
key byte
Résultat long

Del() public méthode

public Del ( string key ) : long
key string
Résultat long

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

Dump() public méthode

public Dump ( string key ) : byte[]
key string
Résultat byte[]

Echo() public méthode

public Echo ( string text ) : string
text string
Résultat string

Exists() public méthode

public Exists ( string key ) : long
key string
Résultat long

Expire() public méthode

public Expire ( byte key, int seconds ) : bool
key byte
seconds int
Résultat bool

Expire() public méthode

public Expire ( string key, int seconds ) : bool
key string
seconds int
Résultat bool

ExpireAt() public méthode

public ExpireAt ( string key, long unixTime ) : bool
key string
unixTime long
Résultat bool

FlushAll() public méthode

public FlushAll ( ) : void
Résultat void

FlushDb() public méthode

public FlushDb ( ) : void
Résultat void

GeoAdd() public méthode

public GeoAdd ( string key ) : long
key string
Résultat long

GeoAdd() public méthode

public GeoAdd ( string key, double longitude, double latitude, string member ) : long
key string
longitude double
latitude double
member string
Résultat long

GeoDist() public méthode

public GeoDist ( string key, string fromMember, string toMember, string unit = null ) : double
key string
fromMember string
toMember string
unit string
Résultat double

GeoHash() public méthode

public GeoHash ( string key ) : string[]
key string
Résultat string[]

GeoPos() public méthode

public GeoPos ( string key ) : List
key string
Résultat List

GeoRadius() public méthode

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
Résultat List

GeoRadiusByMember() public méthode

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
Résultat List

Get() public méthode

public Get ( byte key ) : byte[]
key byte
Résultat byte[]

Get() public méthode

public Get ( string key ) : byte[]
key string
Résultat byte[]

GetBit() public méthode

public GetBit ( string key, int offset ) : long
key string
offset int
Résultat long

GetBytes() public méthode

public GetBytes ( string key ) : byte[]
key string
Résultat byte[]

GetEntryType() public méthode

public GetEntryType ( string key ) : RedisKeyType
key string
Résultat RedisKeyType

GetRange() public méthode

public GetRange ( string key, int fromIndex, int toIndex ) : byte[]
key string
fromIndex int
toIndex int
Résultat byte[]

GetSet() public méthode

public GetSet ( string key, byte value ) : byte[]
key string
value byte
Résultat byte[]

HDel() public méthode

public HDel ( byte hashId, byte key ) : long
hashId byte
key byte
Résultat long

HDel() public méthode

public HDel ( string hashId, byte key ) : long
hashId string
key byte
Résultat long

HExists() public méthode

public HExists ( string hashId, byte key ) : long
hashId string
key byte
Résultat long

HGet() public méthode

public HGet ( byte hashId, byte key ) : byte[]
hashId byte
key byte
Résultat byte[]

HGet() public méthode

public HGet ( string hashId, byte key ) : byte[]
hashId string
key byte
Résultat byte[]

HGetAll() public méthode

public HGetAll ( string hashId ) : byte[][]
hashId string
Résultat byte[][]

HIncrby() public méthode

public HIncrby ( string hashId, byte key, int incrementBy ) : long
hashId string
key byte
incrementBy int
Résultat long

HIncrby() public méthode

public HIncrby ( string hashId, byte key, long incrementBy ) : long
hashId string
key byte
incrementBy long
Résultat long

HIncrbyFloat() public méthode

public HIncrbyFloat ( string hashId, byte key, double incrementBy ) : double
hashId string
key byte
incrementBy double
Résultat double

HKeys() public méthode

public HKeys ( string hashId ) : byte[][]
hashId string
Résultat byte[][]

HLen() public méthode

public HLen ( string hashId ) : long
hashId string
Résultat long

HMGet() public méthode

public HMGet ( string hashId ) : byte[][]
hashId string
Résultat byte[][]

HMSet() public méthode

public HMSet ( string hashId, byte keys, byte values ) : void
hashId string
keys byte
values byte
Résultat void

HScan() public méthode

public HScan ( string hashId, ulong cursor, int count = 10, string match = null ) : ServiceStack.Redis.ScanResult
hashId string
cursor ulong
count int
match string
Résultat ServiceStack.Redis.ScanResult

HSet() public méthode

public HSet ( byte hashId, byte key, byte value ) : long
hashId byte
key byte
value byte
Résultat long

HSet() public méthode

public HSet ( string hashId, byte key, byte value ) : long
hashId string
key byte
value byte
Résultat long

HSetNX() public méthode

public HSetNX ( string hashId, byte key, byte value ) : long
hashId string
key byte
value byte
Résultat long

HVals() public méthode

public HVals ( string hashId ) : byte[][]
hashId string
Résultat byte[][]

Incr() public méthode

public Incr ( string key ) : long
key string
Résultat long

IncrBy() public méthode

public IncrBy ( string key, int count ) : long
key string
count int
Résultat long

IncrBy() public méthode

public IncrBy ( string key, long count ) : long
key string
count long
Résultat long

IncrByFloat() public méthode

public IncrByFloat ( string key, double incrBy ) : double
key string
incrBy double
Résultat double

Keys() public méthode

public Keys ( string pattern ) : byte[][]
pattern string
Résultat byte[][]

LIndex() public méthode

public LIndex ( string listId, int listIndex ) : byte[]
listId string
listIndex int
Résultat byte[]

LInsert() public méthode

public LInsert ( string listId, bool insertBefore, byte pivot, byte value ) : void
listId string
insertBefore bool
pivot byte
value byte
Résultat void

LLen() public méthode

public LLen ( string listId ) : long
listId string
Résultat long

LPop() public méthode

public LPop ( string listId ) : byte[]
listId string
Résultat byte[]

LPush() public méthode

public LPush ( string listId, byte value ) : long
listId string
value byte
Résultat long

LPushX() public méthode

public LPushX ( string listId, byte value ) : long
listId string
value byte
Résultat long

LRange() public méthode

public LRange ( string listId, int startingFrom, int endingAt ) : byte[][]
listId string
startingFrom int
endingAt int
Résultat byte[][]

LRem() public méthode

public LRem ( string listId, int removeNoOfMatches, byte value ) : long
listId string
removeNoOfMatches int
value byte
Résultat long

LSet() public méthode

public LSet ( string listId, int listIndex, byte value ) : void
listId string
listIndex int
value byte
Résultat void

LTrim() public méthode

public LTrim ( string listId, int keepStartingFrom, int keepEndingAt ) : void
listId string
keepStartingFrom int
keepEndingAt int
Résultat void

MGet() public méthode

public MGet ( ) : byte[][]
Résultat byte[][]

MSet() public méthode

public MSet ( byte keys, byte values ) : void
keys byte
values byte
Résultat void

MSet() public méthode

public MSet ( string keys, byte values ) : void
keys string
values byte
Résultat void

MSetNx() public méthode

public MSetNx ( byte keys, byte values ) : bool
keys byte
values byte
Résultat bool

MSetNx() public méthode

public MSetNx ( string keys, byte values ) : bool
keys string
values byte
Résultat bool

Migrate() public méthode

public Migrate ( string host, int port, string key, int destinationDb, long timeoutMs ) : void
host string
port int
key string
destinationDb int
timeoutMs long
Résultat void

Move() public méthode

public Move ( string key, int db ) : bool
key string
db int
Résultat bool

ObjectIdleTime() public méthode

public ObjectIdleTime ( string key ) : long
key string
Résultat long

PExpire() public méthode

public PExpire ( byte key, long ttlMs ) : bool
key byte
ttlMs long
Résultat bool

PExpire() public méthode

public PExpire ( string key, long ttlMs ) : bool
key string
ttlMs long
Résultat bool

PExpireAt() public méthode

public PExpireAt ( string key, long unixTimeMs ) : bool
key string
unixTimeMs long
Résultat bool

PSetEx() public méthode

public PSetEx ( string key, long expireInMs, byte value ) : void
key string
expireInMs long
value byte
Résultat void

PSubscribe() public méthode

public PSubscribe ( ) : byte[][]
Résultat byte[][]

PTtl() public méthode

public PTtl ( string key ) : long
key string
Résultat long

PUnSubscribe() public méthode

public PUnSubscribe ( ) : byte[][]
Résultat byte[][]

Persist() public méthode

public Persist ( string key ) : bool
key string
Résultat bool

PfAdd() public méthode

public PfAdd ( string key ) : bool
key string
Résultat bool

PfCount() public méthode

public PfCount ( string key ) : long
key string
Résultat long

PfMerge() public méthode

public PfMerge ( string toKeyId ) : void
toKeyId string
Résultat void

Ping() public méthode

public Ping ( ) : bool
Résultat bool

Publish() public méthode

public Publish ( string toChannel, byte message ) : long
toChannel string
message byte
Résultat long

Quit() public méthode

public Quit ( ) : void
Résultat void

RPop() public méthode

public RPop ( string listId ) : byte[]
listId string
Résultat byte[]

RPopLPush() public méthode

public RPopLPush ( string fromListId, string toListId ) : byte[]
fromListId string
toListId string
Résultat byte[]

RPush() public méthode

public RPush ( string listId, byte value ) : long
listId string
value byte
Résultat long

RPushX() public méthode

public RPushX ( string listId, byte value ) : long
listId string
value byte
Résultat long

RandomKey() public méthode

public RandomKey ( ) : string
Résultat string

RawCommand() public méthode

public RawCommand ( ) : ServiceStack.Redis.RedisData
Résultat ServiceStack.Redis.RedisData

ReceiveMessages() public méthode

public ReceiveMessages ( ) : byte[][]
Résultat byte[][]

RedisNativeClient() public méthode

public RedisNativeClient ( ) : System
Résultat System

RedisNativeClient() public méthode

public RedisNativeClient ( RedisEndpoint config ) : System
config RedisEndpoint
Résultat System

RedisNativeClient() public méthode

public RedisNativeClient ( string connectionString ) : System
connectionString string
Résultat System

RedisNativeClient() public méthode

public RedisNativeClient ( string host, int port ) : System
host string
port int
Résultat System

RedisNativeClient() public méthode

public RedisNativeClient ( string host, int port, string password = null, long db = RedisConfig.DefaultDb ) : System
host string
port int
password string
db long
Résultat System

Rename() public méthode

public Rename ( string oldKeyname, string newKeyname ) : void
oldKeyname string
newKeyname string
Résultat void

RenameNx() public méthode

public RenameNx ( string oldKeyname, string newKeyname ) : bool
oldKeyname string
newKeyname string
Résultat bool

Restore() public méthode

public Restore ( string key, long expireMs, byte dumpValue ) : byte[]
key string
expireMs long
dumpValue byte
Résultat byte[]

Role() public méthode

public Role ( ) : ServiceStack.Redis.RedisText
Résultat ServiceStack.Redis.RedisText

SAdd() public méthode

public SAdd ( string setId, byte value ) : long
setId string
value byte
Résultat long

SCard() public méthode

public SCard ( string setId ) : long
setId string
Résultat long

SDiff() public méthode

public SDiff ( string fromSetId ) : byte[][]
fromSetId string
Résultat byte[][]

SDiffStore() public méthode

public SDiffStore ( string intoSetId, string fromSetId ) : void
intoSetId string
fromSetId string
Résultat void

SInter() public méthode

public SInter ( ) : byte[][]
Résultat byte[][]

SInterStore() public méthode

public SInterStore ( string intoSetId ) : void
intoSetId string
Résultat void

SIsMember() public méthode

public SIsMember ( string setId, byte value ) : long
setId string
value byte
Résultat long

SMembers() public méthode

public SMembers ( string setId ) : byte[][]
setId string
Résultat byte[][]

SMove() public méthode

public SMove ( string fromSetId, string toSetId, byte value ) : void
fromSetId string
toSetId string
value byte
Résultat void

SPop() public méthode

public SPop ( string setId ) : byte[]
setId string
Résultat byte[]

SPop() public méthode

public SPop ( string setId, int count ) : byte[][]
setId string
count int
Résultat byte[][]

SRandMember() public méthode

public SRandMember ( string setId ) : byte[]
setId string
Résultat byte[]

SRandMember() public méthode

public SRandMember ( string setId, int count ) : byte[][]
setId string
count int
Résultat byte[][]

SRem() public méthode

public SRem ( string setId, byte value ) : long
setId string
value byte
Résultat long

SScan() public méthode

public SScan ( string setId, ulong cursor, int count = 10, string match = null ) : ServiceStack.Redis.ScanResult
setId string
cursor ulong
count int
match string
Résultat ServiceStack.Redis.ScanResult

SUnion() public méthode

public SUnion ( ) : byte[][]
Résultat byte[][]

SUnionStore() public méthode

public SUnionStore ( string intoSetId ) : void
intoSetId string
Résultat void

Save() public méthode

public Save ( ) : void
Résultat void

SaveAsync() public méthode

public SaveAsync ( ) : void
Résultat void

Scan() public méthode

public Scan ( ulong cursor, int count = 10, string match = null ) : ServiceStack.Redis.ScanResult
cursor ulong
count int
match string
Résultat ServiceStack.Redis.ScanResult

SentinelFailover() public méthode

public SentinelFailover ( string masterName ) : void
masterName string
Résultat void

SentinelGetMasterAddrByName() public méthode

public SentinelGetMasterAddrByName ( string masterName ) : List
masterName string
Résultat List

SentinelMaster() public méthode

public SentinelMaster ( string masterName ) : string>.Dictionary
masterName string
Résultat string>.Dictionary

SentinelMasters() public méthode

public SentinelMasters ( ) : string>>.List
Résultat string>>.List

SentinelSentinels() public méthode

public SentinelSentinels ( string masterName ) : string>>.List
masterName string
Résultat string>>.List

SentinelSlaves() public méthode

public SentinelSlaves ( string masterName ) : string>>.List
masterName string
Résultat string>>.List

Set() public méthode

public Set ( string key, byte value, bool exists, int expirySeconds, long expiryMs ) : bool
key string
value byte
exists bool
expirySeconds int
expiryMs long
Résultat bool

Set() public méthode

public Set ( byte key, byte value, int expirySeconds, long expiryMs ) : void
key byte
value byte
expirySeconds int
expiryMs long
Résultat void

Set() public méthode

public Set ( string key, byte value ) : void
key string
value byte
Résultat void

Set() public méthode

public Set ( string key, byte value, int expirySeconds, long expiryMs ) : void
key string
value byte
expirySeconds int
expiryMs long
Résultat void

SetBit() public méthode

public SetBit ( string key, int offset, int value ) : long
key string
offset int
value int
Résultat long

SetEx() public méthode

public SetEx ( byte key, int expireInSeconds, byte value ) : void
key byte
expireInSeconds int
value byte
Résultat void

SetEx() public méthode

public SetEx ( string key, int expireInSeconds, byte value ) : void
key string
expireInSeconds int
value byte
Résultat void

SetNX() public méthode

public SetNX ( string key, byte value ) : long
key string
value byte
Résultat long

SetRange() public méthode

public SetRange ( string key, int offset, byte value ) : long
key string
offset int
value byte
Résultat long

Shutdown() public méthode

public Shutdown ( ) : void
Résultat void

ShutdownNoSave() public méthode

public ShutdownNoSave ( ) : void
Résultat void

SlaveOf() public méthode

public SlaveOf ( string hostname, int port ) : void
hostname string
port int
Résultat void

SlaveOfNoOne() public méthode

public SlaveOfNoOne ( ) : void
Résultat void

Slowlog() public méthode

public Slowlog ( int top ) : object[]
top int
Résultat object[]

SlowlogReset() public méthode

public SlowlogReset ( ) : void
Résultat void

Sort() public méthode

public Sort ( string listOrSetId, ServiceStack.Redis.SortOptions sortOptions ) : byte[][]
listOrSetId string
sortOptions ServiceStack.Redis.SortOptions
Résultat byte[][]

StrLen() public méthode

public StrLen ( string key ) : long
key string
Résultat long

Subscribe() public méthode

public Subscribe ( ) : byte[][]
Résultat byte[][]

Time() public méthode

public Time ( ) : byte[][]
Résultat byte[][]

Ttl() public méthode

public Ttl ( string key ) : long
key string
Résultat long

Type() public méthode

public Type ( string key ) : string
key string
Résultat string

UnSubscribe() public méthode

public UnSubscribe ( ) : byte[][]
Résultat byte[][]

UnWatch() public méthode

public UnWatch ( ) : void
Résultat void

Watch() public méthode

public Watch ( ) : void
Résultat void

ZAdd() public méthode

public ZAdd ( string setId, double>.List pairs ) : long
setId string
pairs double>.List
Résultat long

ZAdd() public méthode

public ZAdd ( string setId, long>.List pairs ) : long
setId string
pairs long>.List
Résultat long

ZAdd() public méthode

public ZAdd ( string setId, double score, byte value ) : long
setId string
score double
value byte
Résultat long

ZAdd() public méthode

public ZAdd ( string setId, long score, byte value ) : long
setId string
score long
value byte
Résultat long

ZCard() public méthode

public ZCard ( string setId ) : long
setId string
Résultat long

ZCount() public méthode

public ZCount ( string setId, double min, double max ) : long
setId string
min double
max double
Résultat long

ZCount() public méthode

public ZCount ( string setId, long min, long max ) : long
setId string
min long
max long
Résultat long

ZIncrBy() public méthode

public ZIncrBy ( string setId, double incrBy, byte value ) : double
setId string
incrBy double
value byte
Résultat double

ZIncrBy() public méthode

public ZIncrBy ( string setId, long incrBy, byte value ) : double
setId string
incrBy long
value byte
Résultat double

ZInterStore() public méthode

public ZInterStore ( string intoSetId ) : long
intoSetId string
Résultat long

ZInterStore() public méthode

public ZInterStore ( string intoSetId, string setIds, string args ) : long
intoSetId string
setIds string
args string
Résultat long

ZLexCount() public méthode

public ZLexCount ( string setId, string min, string max ) : long
setId string
min string
max string
Résultat long

ZRange() public méthode

public ZRange ( string setId, int min, int max ) : byte[][]
setId string
min int
max int
Résultat byte[][]

ZRangeByLex() public méthode

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
Résultat byte[][]

ZRangeByScore() public méthode

public ZRangeByScore ( string setId, double min, double max, int skip, int take ) : byte[][]
setId string
min double
max double
skip int
take int
Résultat byte[][]

ZRangeByScore() public méthode

public ZRangeByScore ( string setId, long min, long max, int skip, int take ) : byte[][]
setId string
min long
max long
skip int
take int
Résultat byte[][]

ZRangeByScoreWithScores() public méthode

public ZRangeByScoreWithScores ( string setId, double min, double max, int skip, int take ) : byte[][]
setId string
min double
max double
skip int
take int
Résultat byte[][]

ZRangeByScoreWithScores() public méthode

public ZRangeByScoreWithScores ( string setId, long min, long max, int skip, int take ) : byte[][]
setId string
min long
max long
skip int
take int
Résultat byte[][]

ZRangeWithScores() public méthode

public ZRangeWithScores ( string setId, int min, int max ) : byte[][]
setId string
min int
max int
Résultat byte[][]

ZRank() public méthode

public ZRank ( string setId, byte value ) : long
setId string
value byte
Résultat long

ZRem() public méthode

public ZRem ( string setId, byte value ) : long
setId string
value byte
Résultat long

ZRemRangeByLex() public méthode

public ZRemRangeByLex ( string setId, string min, string max ) : long
setId string
min string
max string
Résultat long

ZRemRangeByRank() public méthode

public ZRemRangeByRank ( string setId, int min, int max ) : long
setId string
min int
max int
Résultat long

ZRemRangeByScore() public méthode

public ZRemRangeByScore ( string setId, double fromScore, double toScore ) : long
setId string
fromScore double
toScore double
Résultat long

ZRemRangeByScore() public méthode

public ZRemRangeByScore ( string setId, long fromScore, long toScore ) : long
setId string
fromScore long
toScore long
Résultat long

ZRevRange() public méthode

public ZRevRange ( string setId, int min, int max ) : byte[][]
setId string
min int
max int
Résultat byte[][]

ZRevRangeByScore() public méthode

public ZRevRangeByScore ( string setId, double min, double max, int skip, int take ) : byte[][]
setId string
min double
max double
skip int
take int
Résultat byte[][]

ZRevRangeByScore() public méthode

public ZRevRangeByScore ( string setId, long min, long max, int skip, int take ) : byte[][]
setId string
min long
max long
skip int
take int
Résultat byte[][]

ZRevRangeByScoreWithScores() public méthode

public ZRevRangeByScoreWithScores ( string setId, double min, double max, int skip, int take ) : byte[][]
setId string
min double
max double
skip int
take int
Résultat byte[][]

ZRevRangeByScoreWithScores() public méthode

public ZRevRangeByScoreWithScores ( string setId, long min, long max, int skip, int take ) : byte[][]
setId string
min long
max long
skip int
take int
Résultat byte[][]

ZRevRangeWithScores() public méthode

public ZRevRangeWithScores ( string setId, int min, int max ) : byte[][]
setId string
min int
max int
Résultat byte[][]

ZRevRank() public méthode

public ZRevRank ( string setId, byte value ) : long
setId string
value byte
Résultat long

ZScan() public méthode

public ZScan ( string setId, ulong cursor, int count = 10, string match = null ) : ScanResult
setId string
cursor ulong
count int
match string
Résultat ScanResult

ZScore() public méthode

public ZScore ( string setId, byte value ) : double
setId string
value byte
Résultat double

ZUnionStore() public méthode

public ZUnionStore ( string intoSetId ) : long
intoSetId string
Résultat long

ZUnionStore() public méthode

public ZUnionStore ( string intoSetId, string setIds, string args ) : long
intoSetId string
setIds string
args string
Résultat long

Property Details

Bstream protected_oe property

protected BufferedStream Bstream
Résultat BufferedStream

socket protected_oe property

protected Socket socket
Résultat Socket

sslStream protected_oe property

protected SslStream sslStream
Résultat SslStream