Skip to content

IJournaledStateManager

interface

Namespace: Orleans.Journaling

Owns journal recovery and persistence for registered state machines.
public interface IJournaledStateManager : IAsyncDisposable

Remarks

The owner registers state machines and initializes the journal before using recovered state. State machine instances and their dependencies retain the lifetime assigned by their caller. Disposing this manager stops journal processing and releases its journal resources.

Properties

  • PendingWriteByteCount Gets an approximate count of bytes accumulated in the in-memory journal buffer that have not yet been flushed to storage. Returns a negative value when the implementation does not support sampling pending bytes.

Methods