C# Class Akka.Cluster.ClusterDomainEventPublisher

Inheritance: Akka.Actor.UntypedActor
Mostra file Open project: rogeralsing/akka.net

Public Methods

Method Description
ClusterDomainEventPublisher ( ) : System

Protected Methods

Method Description
OnReceive ( object message ) : void
PostStop ( ) : void
PreRestart ( Exception reason, object message ) : void

Private Methods

Method Description
ClearState ( ) : void
Publish ( object @event ) : void
PublishChanges ( Gossip newGossip ) : void
PublishDiff ( Gossip oldGossip, Gossip newGossip, Action pub ) : void
PublishInternalStats ( ClusterEvent currentStats ) : void
SendCurrentClusterState ( IActorRef receiver ) : void

The current snapshot state corresponding to latest gossip to mimic what you would have seen if you were listening to the events.

Subscribe ( IActorRef subscriber, ClusterEvent initMode, IEnumerable to ) : void
Unsubscribe ( IActorRef subscriber, Type to ) : void

Method Details

ClusterDomainEventPublisher() public method

public ClusterDomainEventPublisher ( ) : System
return System

OnReceive() protected method

protected OnReceive ( object message ) : void
message object
return void

PostStop() protected method

protected PostStop ( ) : void
return void

PreRestart() protected method

protected PreRestart ( Exception reason, object message ) : void
reason System.Exception
message object
return void