# IJournaledStateManager.PendingWriteByteCount

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.journaling/orleans.journaling.ijournaledstatemanager/) | [Properties](/orleans/docs/api/csharp/microsoft.orleans.journaling/orleans.journaling.ijournaledstatemanager/properties/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Journaling/IJournaledStateManager.cs#L57)

```csharp
public virtual long 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.
