FireSync API
 All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
kHostHealth Class Reference

Description

Provides health service for a typical host application.

This class extends kHealth to add support for some health indicators typically desired on host systems (e.g., cpu utilization). This class can be instantiated by a host application and installed as the global health provider for the application.

Inheritance diagram for kHostHealth:
Inheritance graph

Public Member Functions

kStatus kHostHealth_Construct (kHostHealth *health, kAlloc allocator)
 Constructs a kHostHealth object. More...
 
- Public Member Functions inherited from kHealth
kStatus kHealth_AddUpdateHandler (kHealth health, kCallbackFx function, kPointer receiver)
 Registers a callback for periodic health polling. More...
 
kStatus kHealth_Construct (kHealth *health, kAlloc allocator)
 Constructs a kHealth object. More...
 
kStatus kHealth_HealthStats (kHealth health, kArrayList stats)
 Gets latest streamed health statistics. More...
 
kStatus kHealth_Log (kHealth health, kHealthLog *log)
 Gets a reference to the health log (if installed). More...
 
kStatus kHealth_PersistentHealthStats (kHealth health, kArrayList stats)
 Gets latest persistent health statistics. More...
 
kStatus kHealth_ProfileStats (kHealth health, kArrayList stats)
 Gets current code profiling statistics. More...
 
kStatus kHealth_RemoveUpdateHandler (kHealth health, kCallbackFx function, kPointer receiver)
 Unregisters a callback from periodic health polling. More...
 
kStatus kHealth_SetLog (kHealth health, kHealthLog log)
 Installs a health logger. More...
 
kStatus kHealth_UpdateHealthStats (kHealth health)
 Invokes health update handlers. More...
 

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