KlusterKite  0.0.0
A framework to create scalable and redundant services based on awesome Akka.Net project.
KlusterKite.LargeObjects.ParcelManagerActor Class Reference

Manager that handles sending parcels More...

Inheritance diagram for KlusterKite.LargeObjects.ParcelManagerActor:

Public Member Functions

 ParcelManagerActor (IComponentContext container)
 Initializes a new instance of the ParcelManagerActor class. More...
 

Protected Member Functions

override void PostStop ()
 User overridable callback. More...
 
override void PreRestart (Exception reason, object message)
 User overridable callback: '''By default it disposes of all children and then calls postStop().''' More...
 
override void PreStart ()
 User overridable callback. More...
 

Detailed Description

Manager that handles sending parcels

Should be singleton in local system. In case of system failure all parcells will be lost. Try to avoid using this, as this is really slow and large messages typically means some errors in software design.

Definition at line 43 of file ParcelManagerActor.cs.

Constructor & Destructor Documentation

◆ ParcelManagerActor()

KlusterKite.LargeObjects.ParcelManagerActor.ParcelManagerActor ( IComponentContext  container)

Initializes a new instance of the ParcelManagerActor class.

Parameters
containerThe DI container.

Definition at line 91 of file ParcelManagerActor.cs.

Member Function Documentation

◆ PostStop()

override void KlusterKite.LargeObjects.ParcelManagerActor.PostStop ( )
protected

User overridable callback.

Is called asynchronously after 'actor.stop()' is invoked. Empty default implementation.

Definition at line 110 of file ParcelManagerActor.cs.

◆ PreRestart()

override void KlusterKite.LargeObjects.ParcelManagerActor.PreRestart ( Exception  reason,
object  message 
)
protected

User overridable callback: '''By default it disposes of all children and then calls postStop().'''

Is called on a crashed Actor right BEFORE it is restarted to allow clean up of resources before Actor is terminated.

Parameters
reasonthe Exception that caused the restart to happen.
messageoptionally the current message the actor processed when failing, if applicable.

Definition at line 126 of file ParcelManagerActor.cs.

◆ PreStart()

override void KlusterKite.LargeObjects.ParcelManagerActor.PreStart ( )
protected

User overridable callback.

Is called when an Actor is started. Actors are automatically started asynchronously when created. Empty default implementation.

Definition at line 141 of file ParcelManagerActor.cs.


The documentation for this class was generated from the following file: