C# Class Fan.Sys.Actor.CoalescingQueue

Inheritance: System.Collections.Queue
Show file Open project: xored/f4

Public Methods

Method Description
CoalescingQueue ( Func toKeyFunc, Func coalesceFunc ) : System
add ( Future f ) : void
coalesce ( Future incoming ) : Future
get ( ) : Future

Private Methods

Method Description
coalesce ( object orig, object incoming ) : object
toKey ( object obj ) : object

Method Details

CoalescingQueue() public method

public CoalescingQueue ( Func toKeyFunc, Func coalesceFunc ) : System
toKeyFunc Func
coalesceFunc Func
return System

add() public method

public add ( Future f ) : void
f Future
return void

coalesce() public method

public coalesce ( Future incoming ) : Future
incoming Future
return Future

get() public method

public get ( ) : Future
return Future