Skip to content

ILogConsistencyProtocolParticipant Methods

Grain interface for grains that participate in multi-cluster log-consistency protocols.

DeactivateProtocolParticipant

abstract
View source
[Orleans.Alias(DeactivateProtocolParticipant)]
public abstract Task DeactivateProtocolParticipant()
Called immediately after the user-level OnDeactivateAsync, on same scheduler.

Returns

A System.Threading.Tasks.Task representing the operation.

DeactivateProtocolParticipant(CancellationToken)

virtual
View source
[Orleans.Alias(A36FC884)]
public virtual Task DeactivateProtocolParticipant(CancellationToken cancellationToken)
Called immediately after the user-level OnDeactivateAsync, on the same scheduler.

Parameters

cancellationTokenCancellationToken
The cancellation token.

Returns

A System.Threading.Tasks.Task representing the operation.

PostActivateProtocolParticipant

abstract
View source
[Orleans.Alias(PostActivateProtocolParticipant)]
public abstract Task PostActivateProtocolParticipant()
Called immediately after the user-level OnActivateAsync, on same scheduler.

Returns

A System.Threading.Tasks.Task representing the operation.

PostActivateProtocolParticipant(CancellationToken)

virtual
View source
[Orleans.Alias(22FD7D72)]
public virtual Task PostActivateProtocolParticipant(CancellationToken cancellationToken)
Called immediately after the user-level OnActivateAsync, on the same scheduler.

Parameters

cancellationTokenCancellationToken
The cancellation token.

Returns

A System.Threading.Tasks.Task representing the operation.

PreActivateProtocolParticipant

abstract
View source
[Orleans.Alias(PreActivateProtocolParticipant)]
public abstract Task PreActivateProtocolParticipant()
Called immediately before the user-level OnActivateAsync, on same scheduler.

Returns

A System.Threading.Tasks.Task representing the operation.

PreActivateProtocolParticipant(CancellationToken)

virtual
View source
[Orleans.Alias(0DB087C8)]
public virtual Task PreActivateProtocolParticipant(CancellationToken cancellationToken)
Called immediately before the user-level OnActivateAsync, on the same scheduler.

Parameters

cancellationTokenCancellationToken
The cancellation token.

Returns

A System.Threading.Tasks.Task representing the operation.