C# Class Scalien.Users

ファイルを表示 Open project: scalien/scaliendb Class Usage Examples

Public Methods

Method Description
AddClient ( string nodes ) : void
AddUser ( ) : void
ClientDBsAreSame ( int client_index_a, int client_index_b ) : bool
CountUsers ( ) : long
DeleteUser ( TestUser user ) : void
EmptyAll ( ) : void
GetClient ( ) : Scalien.Client
GetUser ( string userID ) : TestUser
InsertUsers ( int cnt ) : void
IsConsistent ( ) : bool
IterateClients ( ) : bool
PrintByNick ( string prefix ) : void
ResetTables ( ) : void
SetUser ( TestUser user ) : void
SubmitAll ( ) : void
TestCycle ( int userNum ) : void
TestCycle_MultiUser ( ) : void
TestGetSetSubmit ( ) : bool
Users ( string nodes = null ) : System

Private Methods

Method Description
OpenDB ( ) : void

Method Details

AddClient() public method

public AddClient ( string nodes ) : void
nodes string
return void

AddUser() public method

public AddUser ( ) : void
return void

ClientDBsAreSame() public method

public ClientDBsAreSame ( int client_index_a, int client_index_b ) : bool
client_index_a int
client_index_b int
return bool

CountUsers() public method

public CountUsers ( ) : long
return long

DeleteUser() public method

public DeleteUser ( TestUser user ) : void
user TestUser
return void

EmptyAll() public method

public EmptyAll ( ) : void
return void

GetClient() public method

public GetClient ( ) : Scalien.Client
return Scalien.Client

GetUser() public method

public GetUser ( string userID ) : TestUser
userID string
return TestUser

InsertUsers() public method

public InsertUsers ( int cnt ) : void
cnt int
return void

IsConsistent() public method

public IsConsistent ( ) : bool
return bool

IterateClients() public method

public IterateClients ( ) : bool
return bool

PrintByNick() public method

public PrintByNick ( string prefix ) : void
prefix string
return void

ResetTables() public method

public ResetTables ( ) : void
return void

SetUser() public method

public SetUser ( TestUser user ) : void
user TestUser
return void

SubmitAll() public method

public SubmitAll ( ) : void
return void

TestCycle() public method

public TestCycle ( int userNum ) : void
userNum int
return void

TestCycle_MultiUser() public method

public TestCycle_MultiUser ( ) : void
return void

TestGetSetSubmit() public method

public TestGetSetSubmit ( ) : bool
return bool

Users() public method

public Users ( string nodes = null ) : System
nodes string
return System