C# Класс Akka.Actor.Internal.AbstractStash

INTERNAL Abstract base class for stash support Note! Part of internal API. Breaking changes may occur without notice. Use at own risk.
Наследование: IStash
Показать файл Открыть проект

Private Properties

Свойство Тип Описание
EnqueueFirst void

Открытые методы

Метод Описание
ClearStash ( ) : IEnumerable

Eliminates the contents of the IStash, and returns the previous contents of the messages.

Prepend ( IEnumerable envelopes ) : void
Stash ( ) : void

Stashes the current message in the actor's state.

Unstash ( ) : void

Unstash the most recently stashed message (top of the message stack.)

UnstashAll ( ) : void

Unstash all of the Envelopes in the Stash.

UnstashAll ( bool>.Func predicate ) : void

Unstash all of the Envelopes in the Stash.

Защищенные методы

Метод Описание
AbstractStash ( IActorContext context, int capacity = 100 ) : System

INTERNAL Abstract base class for stash support Note! Part of internal API. Breaking changes may occur without notice. Use at own risk.

Приватные методы

Метод Описание
EnqueueFirst ( Envelope msg ) : void

Enqueues msg at the first position in the mailbox. If the message contained in the envelope is a Terminated message, it will be ensured that it can be re-received by the actor.

Описание методов

AbstractStash() защищенный Метод

INTERNAL Abstract base class for stash support Note! Part of internal API. Breaking changes may occur without notice. Use at own risk.
protected AbstractStash ( IActorContext context, int capacity = 100 ) : System
context IActorContext
capacity int
Результат System

ClearStash() публичный Метод

Eliminates the contents of the IStash, and returns the previous contents of the messages.
public ClearStash ( ) : IEnumerable
Результат IEnumerable

Prepend() публичный Метод

public Prepend ( IEnumerable envelopes ) : void
envelopes IEnumerable
Результат void

Stash() публичный Метод

Stashes the current message in the actor's state.
Thrown if we attempt to stash the same message more than once. Thrown in the event that we're using a /// for the and we've exceeded capacity.
public Stash ( ) : void
Результат void

Unstash() публичный Метод

Unstash the most recently stashed message (top of the message stack.)
public Unstash ( ) : void
Результат void

UnstashAll() публичный Метод

Unstash all of the Envelopes in the Stash.
public UnstashAll ( ) : void
Результат void

UnstashAll() публичный Метод

Unstash all of the Envelopes in the Stash.
public UnstashAll ( bool>.Func predicate ) : void
predicate bool>.Func A predicate function to determine which messages to select.
Результат void