# IDurableLogCommandHandler&lt;T&gt;.Reset(long, long, long, int)

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

```csharp
public abstract void Reset(long epoch, long firstSequence, long resetSequence, int capacityHint)
```

Resets the receiver to a snapshot's state before applying its entries, which begin at `firstSequence`.

### Parameters

- `epoch` (`long`): The identifier of the log's history, or zero when the log has no history.
- `firstSequence` (`long`): The sequence number of the first retained entry.
- `resetSequence` (`long`): The first sequence number after the most recent clear, or zero.
- `capacityHint` (`int`): The number of entries which follow.
