public class BatchingWorkPool<K,V>

Constructor Summary

Flags Name Summary
public BatchingWorkPool()

(undocumented)

Method Summary

Flags Name Summary
public bool AddWorkItem(K key, V item)

(undocumented)

public bool FinishWorkBlock(K key)

(undocumented)

public K NextWorkBlock(ref List<V> to, int size)

(undocumented)

public void RegisterKey(K key)

(undocumented)

public void UnregisterAllKeys()

(undocumented)

public void UnregisterKey(K key)

(undocumented)

Constructor Detail

BatchingWorkPool

public BatchingWorkPool()

Method Detail

AddWorkItem

public bool AddWorkItem(K key, V item)

Flags public
Return type bool
Parameters
Name Type
key K
item V

FinishWorkBlock

public bool FinishWorkBlock(K key)

Flags public
Return type bool
Parameters
Name Type
key K

NextWorkBlock

public K NextWorkBlock(ref List<V> to, int size)

Flags public
Return type K
Parameters
Name Type
to ref List<V>
size int

RegisterKey

public void RegisterKey(K key)

Flags public
Return type void
Parameters
Name Type
key K

UnregisterAllKeys

public void UnregisterAllKeys()

Flags public
Return type void

UnregisterKey

public void UnregisterKey(K key)

Flags public
Return type void
Parameters
Name Type
key K