KlusterKite  0.0.0
A framework to create scalable and redundant services based on awesome Akka.Net project.
KlusterKite.Monitoring.WebApi.MonitoringController Class Reference

Manages web requests to describe current cluster health state More...

Inheritance diagram for KlusterKite.Monitoring.WebApi.MonitoringController:

Public Member Functions

 MonitoringController (ActorSystem system)
 Initializes a new instance of the MonitoringController class. More...
 
async Task< ClusterTreeGetClusterTree ()
 Gets the last cluster scan result. Changes as system receives the scan results from nodes More...
 
bool InitiateScan ()
 Initiates the new actor system scan More...
 

Detailed Description

Manages web requests to describe current cluster health state

Definition at line 29 of file MonitoringController.cs.

Constructor & Destructor Documentation

◆ MonitoringController()

KlusterKite.Monitoring.WebApi.MonitoringController.MonitoringController ( ActorSystem  system)

Initializes a new instance of the MonitoringController class.

Parameters
systemThe actor system.

Definition at line 47 of file MonitoringController.cs.

Member Function Documentation

◆ GetClusterTree()

async Task<ClusterTree> KlusterKite.Monitoring.WebApi.MonitoringController.GetClusterTree ( )

Gets the last cluster scan result. Changes as system receives the scan results from nodes

Returns
The cluster scan result

Definition at line 60 of file MonitoringController.cs.

◆ InitiateScan()

bool KlusterKite.Monitoring.WebApi.MonitoringController.InitiateScan ( )

Initiates the new actor system scan

Returns
The success of the operation

Definition at line 83 of file MonitoringController.cs.


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