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
파일 보기 프로젝트 열기: rogeralsing/akka.net

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