C# 클래스 Redis, redis-sharp

상속: IDisposable
파일 보기 프로젝트 열기: SamSaffron/redis-sharp 1 사용 예제들

공개 메소드들

메소드 설명
AddToSet ( string key, byte member ) : bool
AddToSet ( string key, string member ) : bool
BackgroundSave ( ) : void
CardinalityOfSet ( string key ) : int
ContainsKey ( string key ) : bool
Decrement ( string key ) : int
Decrement ( string key, int count ) : int
Dispose ( ) : void
Expire ( string key, int seconds ) : bool
ExpireAt ( string key, int time ) : bool
FlushAll ( ) : void
FlushDb ( ) : void
Get ( string key ) : byte[]
GetDifferenceOfSets ( ) : byte[][]
GetInfo ( ) : string>.Dictionary
GetIntersectionOfSets ( ) : byte[][]
GetKeys ( ) : byte[][]
GetKeys ( string pattern ) : string[]
GetMembersOfSet ( string key ) : byte[][]
GetRandomMemberOfSet ( string key ) : byte[]
GetSet ( string key, byte value ) : byte[]
GetSet ( string key, string value ) : string
GetString ( string key ) : string
GetUnionOfSets ( ) : byte[][]
Increment ( string key ) : int
Increment ( string key, int count ) : int
IsMemberOfSet ( string key, byte member ) : bool
IsMemberOfSet ( string key, string member ) : bool
LeftPop ( string key ) : byte[]
ListIndex ( string key, int index ) : byte[]
ListLength ( string key ) : int
ListRange ( string key, int start, int end ) : byte[][]
MoveMemberToSet ( string srcKey, string destKey, byte member ) : bool
PopRandomMemberOfSet ( string key ) : byte[]
RandomKey ( ) : string
Redis ( ) : System
Redis ( string host ) : System
Redis ( string host, int port ) : System
Remove ( string key ) : bool
Remove ( ) : int
RemoveFromSet ( string key, byte member ) : bool
RemoveFromSet ( string key, string member ) : bool
Rename ( string oldKeyname, string newKeyname ) : bool
RightPush ( string key, string value ) : void
Save ( ) : string
SendDataCommandExpectMultiBulkReply ( byte data, string command ) : byte[][]
Set ( byte[]>.IDictionary dict ) : void
Set ( string>.IDictionary dict ) : void
Set ( string key, byte value ) : void
Set ( string key, string value ) : void
SetNX ( string key, byte value ) : bool
SetNX ( string key, string value ) : bool
Shutdown ( ) : void
Sort ( SortOptions, options ) : byte[][]
StoreDifferenceOfSets ( string destKey ) : void
StoreIntersectionOfSets ( string destKey ) : void
StoreUnionOfSets ( string destKey ) : void
TimeToLive ( string key ) : int
TypeOf ( string key ) : KeyType
this ( string key ) : string

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

비공개 메소드들

메소드 설명
Connect ( ) : void
ExpectSuccess ( ) : void
Log ( string fmt ) : void
ReadData ( ) : byte[]
ReadLine ( ) : string
SendCommand ( string cmd ) : bool
SendDataCommand ( byte data, string cmd ) : bool
SendDataExpectInt ( byte data, string cmd ) : int
SendExpectData ( byte data, string cmd ) : byte[]
SendExpectInt ( string cmd ) : int
SendExpectString ( string cmd ) : string
SendExpectSuccess ( string cmd ) : void
SendGetString ( string cmd ) : string
StoreSetCommands ( string cmd, string destKey ) : void

메소드 상세

AddToSet() 공개 메소드

public AddToSet ( string key, byte member ) : bool
key string
member byte
리턴 bool

AddToSet() 공개 메소드

public AddToSet ( string key, string member ) : bool
key string
member string
리턴 bool

BackgroundSave() 공개 메소드

public BackgroundSave ( ) : void
리턴 void

CardinalityOfSet() 공개 메소드

public CardinalityOfSet ( string key ) : int
key string
리턴 int

ContainsKey() 공개 메소드

public ContainsKey ( string key ) : bool
key string
리턴 bool

Decrement() 공개 메소드

public Decrement ( string key ) : int
key string
리턴 int

Decrement() 공개 메소드

public Decrement ( string key, int count ) : int
key string
count int
리턴 int

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

Dispose() 보호된 메소드

protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

Expire() 공개 메소드

public Expire ( string key, int seconds ) : bool
key string
seconds int
리턴 bool

ExpireAt() 공개 메소드

public ExpireAt ( string key, int time ) : bool
key string
time int
리턴 bool

FlushAll() 공개 메소드

public FlushAll ( ) : void
리턴 void

FlushDb() 공개 메소드

public FlushDb ( ) : void
리턴 void

Get() 공개 메소드

public Get ( string key ) : byte[]
key string
리턴 byte[]

GetDifferenceOfSets() 공개 메소드

public GetDifferenceOfSets ( ) : byte[][]
리턴 byte[][]

GetInfo() 공개 메소드

public GetInfo ( ) : string>.Dictionary
리턴 string>.Dictionary

GetIntersectionOfSets() 공개 메소드

public GetIntersectionOfSets ( ) : byte[][]
리턴 byte[][]

GetKeys() 공개 메소드

public GetKeys ( ) : byte[][]
리턴 byte[][]

GetKeys() 공개 메소드

public GetKeys ( string pattern ) : string[]
pattern string
리턴 string[]

GetMembersOfSet() 공개 메소드

public GetMembersOfSet ( string key ) : byte[][]
key string
리턴 byte[][]

GetRandomMemberOfSet() 공개 메소드

public GetRandomMemberOfSet ( string key ) : byte[]
key string
리턴 byte[]

GetSet() 공개 메소드

public GetSet ( string key, byte value ) : byte[]
key string
value byte
리턴 byte[]

GetSet() 공개 메소드

public GetSet ( string key, string value ) : string
key string
value string
리턴 string

GetString() 공개 메소드

public GetString ( string key ) : string
key string
리턴 string

GetUnionOfSets() 공개 메소드

public GetUnionOfSets ( ) : byte[][]
리턴 byte[][]

Increment() 공개 메소드

public Increment ( string key ) : int
key string
리턴 int

Increment() 공개 메소드

public Increment ( string key, int count ) : int
key string
count int
리턴 int

IsMemberOfSet() 공개 메소드

public IsMemberOfSet ( string key, byte member ) : bool
key string
member byte
리턴 bool

IsMemberOfSet() 공개 메소드

public IsMemberOfSet ( string key, string member ) : bool
key string
member string
리턴 bool

LeftPop() 공개 메소드

public LeftPop ( string key ) : byte[]
key string
리턴 byte[]

ListIndex() 공개 메소드

public ListIndex ( string key, int index ) : byte[]
key string
index int
리턴 byte[]

ListLength() 공개 메소드

public ListLength ( string key ) : int
key string
리턴 int

ListRange() 공개 메소드

public ListRange ( string key, int start, int end ) : byte[][]
key string
start int
end int
리턴 byte[][]

MoveMemberToSet() 공개 메소드

public MoveMemberToSet ( string srcKey, string destKey, byte member ) : bool
srcKey string
destKey string
member byte
리턴 bool

PopRandomMemberOfSet() 공개 메소드

public PopRandomMemberOfSet ( string key ) : byte[]
key string
리턴 byte[]

RandomKey() 공개 메소드

public RandomKey ( ) : string
리턴 string

Redis() 공개 메소드

public Redis ( ) : System
리턴 System

Redis() 공개 메소드

public Redis ( string host ) : System
host string
리턴 System

Redis() 공개 메소드

public Redis ( string host, int port ) : System
host string
port int
리턴 System

Remove() 공개 메소드

public Remove ( string key ) : bool
key string
리턴 bool

Remove() 공개 메소드

public Remove ( ) : int
리턴 int

RemoveFromSet() 공개 메소드

public RemoveFromSet ( string key, byte member ) : bool
key string
member byte
리턴 bool

RemoveFromSet() 공개 메소드

public RemoveFromSet ( string key, string member ) : bool
key string
member string
리턴 bool

Rename() 공개 메소드

public Rename ( string oldKeyname, string newKeyname ) : bool
oldKeyname string
newKeyname string
리턴 bool

RightPush() 공개 메소드

public RightPush ( string key, string value ) : void
key string
value string
리턴 void

Save() 공개 메소드

public Save ( ) : string
리턴 string

SendDataCommandExpectMultiBulkReply() 공개 메소드

public SendDataCommandExpectMultiBulkReply ( byte data, string command ) : byte[][]
data byte
command string
리턴 byte[][]

Set() 공개 메소드

public Set ( byte[]>.IDictionary dict ) : void
dict byte[]>.IDictionary
리턴 void

Set() 공개 메소드

public Set ( string>.IDictionary dict ) : void
dict string>.IDictionary
리턴 void

Set() 공개 메소드

public Set ( string key, byte value ) : void
key string
value byte
리턴 void

Set() 공개 메소드

public Set ( string key, string value ) : void
key string
value string
리턴 void

SetNX() 공개 메소드

public SetNX ( string key, byte value ) : bool
key string
value byte
리턴 bool

SetNX() 공개 메소드

public SetNX ( string key, string value ) : bool
key string
value string
리턴 bool

Shutdown() 공개 메소드

public Shutdown ( ) : void
리턴 void

Sort() 공개 메소드

public Sort ( SortOptions, options ) : byte[][]
options SortOptions,
리턴 byte[][]

StoreDifferenceOfSets() 공개 메소드

public StoreDifferenceOfSets ( string destKey ) : void
destKey string
리턴 void

StoreIntersectionOfSets() 공개 메소드

public StoreIntersectionOfSets ( string destKey ) : void
destKey string
리턴 void

StoreUnionOfSets() 공개 메소드

public StoreUnionOfSets ( string destKey ) : void
destKey string
리턴 void

TimeToLive() 공개 메소드

public TimeToLive ( string key ) : int
key string
리턴 int

TypeOf() 공개 메소드

public TypeOf ( string key ) : KeyType
key string
리턴 KeyType

this() 공개 메소드

public this ( string key ) : string
key string
리턴 string