ILogConsistencyProtocolParticipant Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Grain interface for grains that participate in multi-cluster log-consistency protocols.
public interface ILogConsistencyProtocolParticipant : Orleans.IGrain
type ILogConsistencyProtocolParticipant = interface
interface IGrain
interface IAddressable
Public Interface ILogConsistencyProtocolParticipant
Implements IGrain
- Derived
- Implements
Methods
DeactivateProtocolParticipant() |
Called immediately after the user-level OnDeactivateAsync, on same scheduler. |
OnMultiClusterConfigurationChange(MultiClusterConfiguration) |
Called when a configuration change notification is received. |
OnProtocolMessageReceived(ILogConsistencyProtocolMessage) |
Called when a message is received from another cluster. This MUST interleave with other calls to avoid deadlocks. |
PostActivateProtocolParticipant() |
Called immediately after the user-level OnActivateAsync, on same scheduler. |
PreActivateProtocolParticipant() |
Called immediately before the user-level OnActivateAsync, on same scheduler. |
Extension Methods
AsReference<TGrainInterface>(IAddressable) |
Returns a typed reference to the provided grain. |
BindGrainReference(IAddressable, IGrainFactory) |
Binds the grain reference to the provided IGrainFactory. |
Cast(IAddressable, Type) |
Returns a typed reference to the provided grain. |
Cast<TGrainInterface>(IAddressable) |
Returns a typed reference to the provided grain. |
GetGrainIdentity(IGrain) | |
GetPrimaryKey(IGrain, String) | |
GetPrimaryKey(IGrain) | |
GetPrimaryKey(IAddressable, String) |
Returns the Guid representation of a grain primary key. |
GetPrimaryKey(IAddressable) |
Returns the Guid representation of a grain primary key. |
GetPrimaryKeyLong(IGrain, String) | |
GetPrimaryKeyLong(IGrain) | |
GetPrimaryKeyLong(IAddressable, String) |
Returns the |
GetPrimaryKeyLong(IAddressable) |
Returns the |
GetPrimaryKeyString(IAddressable) |
Returns the |
IsPrimaryKeyBasedOnLong(IAddressable) |
Returns whether part of the primary key is of type |