C# Class Keyspace.Client

Show file Open project: scalien/keyspace Class Usage Examples

Public Methods

Method Description
Add ( string key, long num ) : long
Begin ( ) : int
Cancel ( ) : int
ClearExpiries ( ) : int
Client ( string nodes ) : System
Count ( ListParam lp ) : long
Count ( string prefix, string startKey, ulong count, bool skip, bool forward ) : long
Delete ( string key ) : int
DirtyCount ( ListParam lp ) : long
DirtyCount ( string prefix, string startKey, ulong count, bool skip, bool forward ) : long
DirtyGet ( string key ) : string
DirtyListKeyValues ( ListParam lp ) : string>.Dictionary
DirtyListKeyValues ( string prefix, string startKey, ulong count, bool skip, bool forward ) : string>.Dictionary
DirtyListKeys ( ListParam lp ) : List
DirtyListKeys ( string prefix, string startKey, ulong count, bool skip, bool forward ) : List
DistributeDirty ( bool dd ) : void
Get ( string key ) : string
GetGlobalTimeout ( ) : ulong
GetMaster ( ) : int
GetMasterTimeout ( ) : ulong
GetResult ( ) : Result
IsBatched ( ) : bool
ListKeyValues ( ListParam lp ) : string>.Dictionary
ListKeyValues ( string prefix, string startKey, ulong count, bool skip, bool forward ) : string>.Dictionary
ListKeys ( ListParam lp ) : List
ListKeys ( string prefix, string startKey, ulong count, bool skip, bool forward ) : List
Prune ( string prefix ) : int
Remove ( string key ) : string
RemoveExpiry ( string key ) : int
Rename ( string src, string dst ) : int
Set ( string key, string value ) : int
SetExpiry ( string key, int exptime ) : int
SetGlobalTimeout ( ulong timeout ) : void
SetMasterTimeout ( ulong timeout ) : void
SetTrace ( bool trace ) : void
Submit ( ) : int
TestAndSet ( string key, string test, string value ) : string

Method Details

Add() public method

public Add ( string key, long num ) : long
key string
num long
return long

Begin() public method

public Begin ( ) : int
return int

Cancel() public method

public Cancel ( ) : int
return int

ClearExpiries() public method

public ClearExpiries ( ) : int
return int

Client() public method

public Client ( string nodes ) : System
nodes string
return System

Count() public method

public Count ( ListParam lp ) : long
lp ListParam
return long

Count() public method

public Count ( string prefix, string startKey, ulong count, bool skip, bool forward ) : long
prefix string
startKey string
count ulong
skip bool
forward bool
return long

Delete() public method

public Delete ( string key ) : int
key string
return int

DirtyCount() public method

public DirtyCount ( ListParam lp ) : long
lp ListParam
return long

DirtyCount() public method

public DirtyCount ( string prefix, string startKey, ulong count, bool skip, bool forward ) : long
prefix string
startKey string
count ulong
skip bool
forward bool
return long

DirtyGet() public method

public DirtyGet ( string key ) : string
key string
return string

DirtyListKeyValues() public method

public DirtyListKeyValues ( ListParam lp ) : string>.Dictionary
lp ListParam
return string>.Dictionary

DirtyListKeyValues() public method

public DirtyListKeyValues ( string prefix, string startKey, ulong count, bool skip, bool forward ) : string>.Dictionary
prefix string
startKey string
count ulong
skip bool
forward bool
return string>.Dictionary

DirtyListKeys() public method

public DirtyListKeys ( ListParam lp ) : List
lp ListParam
return List

DirtyListKeys() public method

public DirtyListKeys ( string prefix, string startKey, ulong count, bool skip, bool forward ) : List
prefix string
startKey string
count ulong
skip bool
forward bool
return List

DistributeDirty() public method

public DistributeDirty ( bool dd ) : void
dd bool
return void

Get() public method

public Get ( string key ) : string
key string
return string

GetGlobalTimeout() public method

public GetGlobalTimeout ( ) : ulong
return ulong

GetMaster() public method

public GetMaster ( ) : int
return int

GetMasterTimeout() public method

public GetMasterTimeout ( ) : ulong
return ulong

GetResult() public method

public GetResult ( ) : Result
return Result

IsBatched() public method

public IsBatched ( ) : bool
return bool

ListKeyValues() public method

public ListKeyValues ( ListParam lp ) : string>.Dictionary
lp ListParam
return string>.Dictionary

ListKeyValues() public method

public ListKeyValues ( string prefix, string startKey, ulong count, bool skip, bool forward ) : string>.Dictionary
prefix string
startKey string
count ulong
skip bool
forward bool
return string>.Dictionary

ListKeys() public method

public ListKeys ( ListParam lp ) : List
lp ListParam
return List

ListKeys() public method

public ListKeys ( string prefix, string startKey, ulong count, bool skip, bool forward ) : List
prefix string
startKey string
count ulong
skip bool
forward bool
return List

Prune() public method

public Prune ( string prefix ) : int
prefix string
return int

Remove() public method

public Remove ( string key ) : string
key string
return string

RemoveExpiry() public method

public RemoveExpiry ( string key ) : int
key string
return int

Rename() public method

public Rename ( string src, string dst ) : int
src string
dst string
return int

Set() public method

public Set ( string key, string value ) : int
key string
value string
return int

SetExpiry() public method

public SetExpiry ( string key, int exptime ) : int
key string
exptime int
return int

SetGlobalTimeout() public method

public SetGlobalTimeout ( ulong timeout ) : void
timeout ulong
return void

SetMasterTimeout() public method

public SetMasterTimeout ( ulong timeout ) : void
timeout ulong
return void

SetTrace() public static method

public static SetTrace ( bool trace ) : void
trace bool
return void

Submit() public method

public Submit ( ) : int
return int

TestAndSet() public method

public TestAndSet ( string key, string test, string value ) : string
key string
test string
value string
return string