Skip to main content

IMqCollection

Assembly: ServiceStack.dll
View Source
Declaration
public interface IMqCollection : IDisposable

Properties

ThreadCount

View Source
Declaration
int ThreadCount { get; }

QueueType

View Source
Declaration
Type QueueType { get; }

Methods

CreateWorker(String)

View Source
Declaration
IMqWorker CreateWorker(string mqName)
Returns

ServiceStack.Messaging.IMqWorker

Parameters
TypeName
System.StringmqName

Add(String, IMessage)

View Source
Declaration
void Add(string queueName, IMessage message)
Parameters
TypeName
System.StringqueueName
ServiceStack.Messaging.IMessagemessage

TryTake(String, out IMessage)

View Source
Declaration
bool TryTake(string queueName, out IMessage message)
Returns

System.Boolean

Parameters
TypeName
System.StringqueueName
ServiceStack.Messaging.IMessagemessage

TryTake(String, out IMessage, TimeSpan)

View Source
Declaration
bool TryTake(string queueName, out IMessage message, TimeSpan timeout)
Returns

System.Boolean

Parameters
TypeName
System.StringqueueName
ServiceStack.Messaging.IMessagemessage
System.TimeSpantimeout

Clear(String)

View Source
Declaration
void Clear(string queueName)
Parameters
TypeName
System.StringqueueName

GetDescription()

View Source
Declaration
string GetDescription()
Returns

System.String

GetDescriptionMap()

View Source
Declaration
Dictionary<string, long> GetDescriptionMap()
Returns

System.Collections.Generic.Dictionary<System.String,System.Int64>