# JournalingHostingExtensions.AddVolatileJournalStorage(ISiloBuilder, Action&lt;VolatileJournalStorageOptions&gt;)

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.journaling/orleans.journaling.journalinghostingextensions/) | [Methods](/orleans/docs/api/csharp/microsoft.orleans.journaling/orleans.journaling.journalinghostingextensions/methods/)

[Source](https://github.com/dotnet/orleans/blob/79873eb26a59742bc520fcae87c19fe7dc23c7df/src/Orleans.Journaling/JournalingHostingExtensions.cs#L269)

```csharp
public static ISiloBuilder AddVolatileJournalStorage(this ISiloBuilder builder, Action<VolatileJournalStorageOptions> configureOptions)
```

Registers the default volatile journal provider with configurable snapshot thresholds.

### Parameters

- `builder` (`ISiloBuilder`): The silo builder.
- `configureOptions` (`Action<VolatileJournalStorageOptions>`): Configures the provider's snapshot thresholds.

### Returns

The silo builder.
