Class BlockingMessageQueue
Base class for blocking message queues. Allows non thread safe data structures to be used as message queues.
Inheritance
BlockingMessageQueue
Inherited Members
Namespace: Akka.Dispatch.MessageQueues
Assembly: Akka.dll
Syntax
public abstract class BlockingMessageQueue : IMessageQueue, IBlockingMessageQueueSemantics, IMultipleConsumerSemantics, ISemantics
Properties
| Improve this Doc View SourceBlockTimeOut
TBD
Declaration
public TimeSpan BlockTimeOut { get; set; }
Property Value
Type | Description |
---|---|
TimeSpan |
Count
TBD
Declaration
public int Count { get; }
Property Value
Type | Description |
---|---|
Int32 |
HasMessages
TBD
Declaration
public bool HasMessages { get; }
Property Value
Type | Description |
---|---|
Boolean |
LockedCount
TBD
Declaration
protected abstract int LockedCount { get; }
Property Value
Type | Description |
---|---|
Int32 |
Methods
| Improve this Doc View SourceCleanUp(IActorRef, IMessageQueue)
TBD
Declaration
public void CleanUp(IActorRef owner, IMessageQueue deadletters)
Parameters
Type | Name | Description |
---|---|---|
IActorRef | owner | TBD |
IMessageQueue | deadletters | TBD |
Enqueue(IActorRef, Envelope)
TBD
Declaration
public void Enqueue(IActorRef receiver, Envelope envelope)
Parameters
Type | Name | Description |
---|---|---|
IActorRef | receiver | TBD |
Envelope | envelope | TBD |
LockedEnqueue(Envelope)
TBD
Declaration
protected abstract void LockedEnqueue(Envelope envelope)
Parameters
Type | Name | Description |
---|---|---|
Envelope | envelope | TBD |
LockedTryDequeue(out Envelope)
TBD
Declaration
protected abstract bool LockedTryDequeue(out Envelope envelope)
Parameters
Type | Name | Description |
---|---|---|
Envelope | envelope | TBD |
Returns
Type | Description |
---|---|
Boolean | TBD |
TryDequeue(out Envelope)
TBD
Declaration
public bool TryDequeue(out Envelope envelope)
Parameters
Type | Name | Description |
---|---|---|
Envelope | envelope | TBD |
Returns
Type | Description |
---|---|
Boolean | TBD |