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

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

[Source](https://github.com/dotnet/orleans/blob/6a0e937f544c35ffcf11b37e4c2b7de5a1580a03/src/Orleans.Durable/Journaling/JournalingHostingExtensions.cs#L270)

```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.
