C# Class Brunet.Cdc.HashTable

显示文件 Open project: pstjuste/brunet

Public Methods

Method Description
BeginCompareSwap ( MemBlock key, MemBlock new_value, MemBlock old_value, AsyncCallback cb, object state ) : IAsyncResult
BeginRead ( MemBlock key, AsyncCallback result_cb, object state ) : IAsyncResult
BeginSwap ( MemBlock key, MemBlock new_value, AsyncCallback cb, object state ) : IAsyncResult
CompareSwap ( MemBlock key, MemBlock new_value, MemBlock old_value ) : MemBlock
CreateRandomKey ( ) : MemBlock
EndCompareSwap ( IAsyncResult r ) : MemBlock
EndRead ( IAsyncResult r ) : MemBlock
EndSwap ( IAsyncResult r ) : MemBlock
Read ( MemBlock key ) : MemBlock
Swap ( MemBlock key, MemBlock new_value ) : MemBlock

Private Methods

Method Description
DoNothing ( IAsyncResult r ) : void

Method Details

BeginCompareSwap() abstract public method

abstract public BeginCompareSwap ( MemBlock key, MemBlock new_value, MemBlock old_value, AsyncCallback cb, object state ) : IAsyncResult
key MemBlock
new_value MemBlock
old_value MemBlock
cb AsyncCallback
state object
return IAsyncResult

BeginRead() abstract public method

abstract public BeginRead ( MemBlock key, AsyncCallback result_cb, object state ) : IAsyncResult
key MemBlock
result_cb AsyncCallback
state object
return IAsyncResult

BeginSwap() abstract public method

abstract public BeginSwap ( MemBlock key, MemBlock new_value, AsyncCallback cb, object state ) : IAsyncResult
key MemBlock
new_value MemBlock
cb AsyncCallback
state object
return IAsyncResult

CompareSwap() public method

public CompareSwap ( MemBlock key, MemBlock new_value, MemBlock old_value ) : MemBlock
key MemBlock
new_value MemBlock
old_value MemBlock
return MemBlock

CreateRandomKey() abstract public method

abstract public CreateRandomKey ( ) : MemBlock
return MemBlock

EndCompareSwap() abstract public method

abstract public EndCompareSwap ( IAsyncResult r ) : MemBlock
r IAsyncResult
return MemBlock

EndRead() abstract public method

abstract public EndRead ( IAsyncResult r ) : MemBlock
r IAsyncResult
return MemBlock

EndSwap() abstract public method

abstract public EndSwap ( IAsyncResult r ) : MemBlock
r IAsyncResult
return MemBlock

Read() public method

public Read ( MemBlock key ) : MemBlock
key MemBlock
return MemBlock

Swap() public method

public Swap ( MemBlock key, MemBlock new_value ) : MemBlock
key MemBlock
new_value MemBlock
return MemBlock