C# Class NFrame.NFIConsistentHash

Inheritance: NFBehaviour
显示文件 Open project: ketoo/NFrame

Public Properties

Property Type Description
mxHasher NFIHasher

Public Methods

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

Method Details

Empty() public abstract method

public abstract Empty ( ) : bool
return bool

Erase() public abstract method

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

Exist() public abstract method

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

GetSuitNode() public abstract method

public abstract GetSuitNode ( ) : NFIVirtualNode
return NFIVirtualNode

GetSuitNodeHashKey() public abstract method

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

Insert() public abstract method

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

Size() public abstract method

public abstract Size ( ) : int
return int

Property Details

mxHasher public_oe property

public NFIHasher,NFrame mxHasher
return NFIHasher