# JournalingHostingExtensions.AddVolatileJournalStorage(ISiloBuilder, string, 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#L281-L296)

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

Registers a named volatile journal provider with configurable snapshot thresholds.

### Parameters

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

### Returns

The silo builder.
