Class providing information about a remote host of bus nodes. More...
#include <eagine/message_bus/remote_node.hpp>
Public Member Functions | |
| operator bool () const noexcept | |
| Indicates if this is not-empty and has actual information.  | |
| auto | id () const noexcept -> valid_if_not_zero< host_id_t > | 
| Returns the unique host id.  | |
| auto | is_alive () const noexcept -> bool | 
| Indicates if the remote host is reachable/alive.  | |
| auto | name () const noexcept -> valid_if_not_empty< string_view > | 
| Returns the name of the remote host.  | |
| auto | cpu_concurrent_threads () const noexcept -> valid_if_positive< span_size_t > | 
| Returns the number of concurrent threads supported at the host.  | |
| auto | short_average_load () const noexcept -> valid_if_nonnegative< float > | 
| Returns the short average load on the remote host.  More... | |
| auto | long_average_load () const noexcept -> valid_if_nonnegative< float > | 
| Returns the long average load on the remote host.  More... | |
| auto | total_ram_size () const noexcept -> valid_if_positive< span_size_t > | 
| Returns the total RAM size on the remote host.  More... | |
| auto | free_ram_size () const noexcept -> valid_if_positive< span_size_t > | 
| Returns the free RAM size on the remote host.  More... | |
| auto | ram_usage () const noexcept -> valid_if_nonnegative< float > | 
| Returns the RAM usage on the remote host (0.0, 1.0).  More... | |
| auto | total_swap_size () const noexcept -> valid_if_positive< span_size_t > | 
| Returns the total swap size on the remote host.  More... | |
| auto | free_swap_size () const noexcept -> valid_if_nonnegative< span_size_t > | 
| Returns the free swap size on the remote host.  More... | |
| auto | swap_usage () const noexcept -> valid_if_nonnegative< float > | 
| Returns the swap usage on the remote host (0.0, 1.0).  More... | |
Class providing information about a remote host of bus nodes.
      
  | 
  noexcept | 
Returns the free RAM size on the remote host.
Referenced by ram_usage().
      
  | 
  noexcept | 
Returns the free swap size on the remote host.
Referenced by swap_usage().
      
  | 
  noexcept | 
Returns the long average load on the remote host.
      
  | 
  inlinenoexcept | 
Returns the RAM usage on the remote host (0.0, 1.0).
      
  | 
  noexcept | 
Returns the short average load on the remote host.
      
  | 
  inlinenoexcept | 
Returns the swap usage on the remote host (0.0, 1.0).
      
  | 
  noexcept | 
Returns the total RAM size on the remote host.
Referenced by ram_usage().
      
  | 
  noexcept | 
Returns the total swap size on the remote host.
Referenced by swap_usage().