C# Class NFrame.NFCConsistentHash

Inheritance: NFIConsistentHash
Mostrar archivo Open project: ketoo/NFrame

Public Methods

Method Description
Empty ( ) : bool
Erase ( NFIVirtualNode xNode ) : bool
Exist ( NFIVirtualNode xNode ) : bool
GetSuitNode ( ) : NFIVirtualNode
GetSuitNodeHashKey ( int nHashValue ) : NFIVirtualNode
Insert ( NFIVirtualNode xNode ) : void
NFCConsistentHash ( ) : System
Size ( ) : int

Method Details

Empty() public method

public Empty ( ) : bool
return bool

Erase() public method

public Erase ( NFIVirtualNode xNode ) : bool
xNode NFIVirtualNode
return bool

Exist() public method

public Exist ( NFIVirtualNode xNode ) : bool
xNode NFIVirtualNode
return bool

GetSuitNode() public method

public GetSuitNode ( ) : NFIVirtualNode
return NFIVirtualNode

GetSuitNodeHashKey() public method

public GetSuitNodeHashKey ( int nHashValue ) : NFIVirtualNode
nHashValue int
return NFIVirtualNode

Insert() public method

public Insert ( NFIVirtualNode xNode ) : void
xNode NFIVirtualNode
return void

NFCConsistentHash() public method

public NFCConsistentHash ( ) : System
return System

Size() public method

public Size ( ) : int
return int