Skip to content

JournaledGrain<TGrainState, TEventBase>.OnConnectionIssue(ConnectionIssue)

OnConnectionIssue(ConnectionIssue)

virtual
View source
protected virtual void JournaledGrain<TGrainState, OnConnectionIssue(ConnectionIssue issue)
Called when the underlying persistence or replication protocol is running into some sort of connection trouble.

Override this to monitor the health of the log-consistency protocol and/or to customize retry delays. Any exceptions thrown are caught and logged by the ILogViewAdaptorFactory.

Parameters

issueConnectionIssue

Returns

The time to wait before retrying