C# Class MongoQueue.MongoDbQueue

Inheritance: ITQueue
Show file Open project: skipme/TaskMQ

Public Properties

Property Type Description
Connected bool

Public Methods

Method Description
GetItem ( ) : TaskQueue.Providers.TaskMessage
GetItemTuple ( ) : TaskQueue.Providers.TaskMessage[]
GetParametersModel ( ) : QueueSpecificParameters
GetQueueLength ( ) : long
InitialiseFromModel ( RepresentedModel model, QueueConnectionParameters connection ) : void
OptimiseForSelector ( ) : void
Purge ( ) : void
Push ( TaskQueue.Providers.TaskMessage item ) : void
SetSelector ( TQItemSelector selector ) : void
UpdateItem ( TaskQueue.Providers.TaskMessage item ) : void

Private Methods

Method Description
CheckConnection ( ) : void
OpenConnection ( MongoQueueParams mongoparams ) : void

Method Details

GetItem() public method

public GetItem ( ) : TaskQueue.Providers.TaskMessage
return TaskQueue.Providers.TaskMessage

GetItemTuple() public method

public GetItemTuple ( ) : TaskQueue.Providers.TaskMessage[]
return TaskQueue.Providers.TaskMessage[]

GetParametersModel() public method

public GetParametersModel ( ) : QueueSpecificParameters
return TaskQueue.Providers.QueueSpecificParameters

GetQueueLength() public method

public GetQueueLength ( ) : long
return long

InitialiseFromModel() public method

public InitialiseFromModel ( RepresentedModel model, QueueConnectionParameters connection ) : void
model TaskQueue.RepresentedModel
connection TaskQueue.Providers.QueueConnectionParameters
return void

OptimiseForSelector() public method

public OptimiseForSelector ( ) : void
return void

Purge() public method

public Purge ( ) : void
return void

Push() public method

public Push ( TaskQueue.Providers.TaskMessage item ) : void
item TaskQueue.Providers.TaskMessage
return void

SetSelector() public method

public SetSelector ( TQItemSelector selector ) : void
selector TaskQueue.TQItemSelector
return void

UpdateItem() public method

public UpdateItem ( TaskQueue.Providers.TaskMessage item ) : void
item TaskQueue.Providers.TaskMessage
return void

Property Details

Connected public property

public bool Connected
return bool