Class AsyncWriteProxy
A journal that delegates actual storage to a target actor. For testing only.
Implements
Inherited Members
Namespace: Akka.Persistence.Journal
Assembly: Akka.Persistence.dll
Syntax
public abstract class AsyncWriteProxy : AsyncWriteJournal, IInternalActor, IAsyncRecovery, IWithUnboundedStash, IWithUnrestrictedStash, IActorStash, IRequiresMessageQueue<IUnboundedDequeBasedMessageQueueSemantics>
Constructors
| Edit this page View SourceAsyncWriteProxy()
Declaration
protected AsyncWriteProxy()
Properties
| Edit this page View SourceStash
TBD
Declaration
public IStash Stash { get; set; }
Property Value
Type | Description |
---|---|
IStash |
Timeout
TBD
Declaration
public abstract TimeSpan Timeout { get; }
Property Value
Type | Description |
---|---|
TimeSpan |
Methods
| Edit this page View SourceAroundPreStart()
TBD
Declaration
public override void AroundPreStart()
Overrides
| Edit this page View SourceAroundReceive(Receive, object)
TBD
Declaration
protected override bool AroundReceive(Receive receive, object message)
Parameters
Type | Name | Description |
---|---|---|
Receive | receive | TBD |
object | message | TBD |
Returns
Type | Description |
---|---|
bool | TBD |
Overrides
| Edit this page View SourceDeleteMessagesToAsync(string, long)
TBD
Declaration
protected override Task DeleteMessagesToAsync(string persistenceId, long toSequenceNr)
Parameters
Type | Name | Description |
---|---|---|
string | persistenceId | TBD |
long | toSequenceNr | TBD |
Returns
Type | Description |
---|---|
Task | TBD |
Overrides
Exceptions
Type | Condition |
---|---|
TimeoutException | This exception is thrown when the store has not been initialized. |
ReadHighestSequenceNrAsync(string, long)
TBD
Declaration
public override Task<long> ReadHighestSequenceNrAsync(string persistenceId, long fromSequenceNr)
Parameters
Type | Name | Description |
---|---|---|
string | persistenceId | TBD |
long | fromSequenceNr | TBD |
Returns
Type | Description |
---|---|
Task<long> | TBD |
Overrides
Exceptions
Type | Condition |
---|---|
TimeoutException | This exception is thrown when the store has not been initialized. |
ReplayMessagesAsync(IActorContext, string, long, long, long, Action<IPersistentRepresentation>)
TBD
Declaration
public override Task ReplayMessagesAsync(IActorContext context, string persistenceId, long fromSequenceNr, long toSequenceNr, long max, Action<IPersistentRepresentation> recoveryCallback)
Parameters
Type | Name | Description |
---|---|---|
IActorContext | context | TBD |
string | persistenceId | TBD |
long | fromSequenceNr | TBD |
long | toSequenceNr | TBD |
long | max | TBD |
Action<IPersistentRepresentation> | recoveryCallback | TBD |
Returns
Type | Description |
---|---|
Task | TBD |
Overrides
Exceptions
Type | Condition |
---|---|
TimeoutException | This exception is thrown when the store has not been initialized. |
WriteMessagesAsync(IEnumerable<AtomicWrite>)
TBD
Declaration
protected override Task<IImmutableList<Exception>> WriteMessagesAsync(IEnumerable<AtomicWrite> messages)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<AtomicWrite> | messages | TBD |
Returns
Type | Description |
---|---|
Task<IImmutableList<Exception>> | TBD |
Overrides
Exceptions
Type | Condition |
---|---|
TimeoutException | This exception is thrown when the store has not been initialized. |