LavinMQ::Server
Inherits LavinMQ::ParameterTarget < Reference < Object
Constants
Log = LavinMQ::Log.for("server")
METRICS = {:user_time, :sys_time, :blocks_out, :blocks_in}
PAGE_SIZE = LibC.getpagesize
PROCESS_START = Time.instant
Constructors
new(config : Config, replicator : LavinMQ::Clustering::Replicator | Nil = nil, authenticator : Auth::Authenticator | Nil = nil)
SourceInstance methods
add_parameter(parameter : Parameter, save = true)
Sourceall_followers
Sourceauthenticator
Sourceblocks_in
blocks_in_log
blocks_out
blocks_out_log
close
Sourceclosed?
Sourceconnections
Sourcedata_dir
Sourcedelete_parameter(component_name, parameter_name)
Sourcedisk_free
Sourcedisk_free_log
Sourcedisk_full?
Sourcedisk_total
Sourcedisk_total_log
Sourcedisk_usage_over_warning_level?
Sourceflow?
Sourcefollowers
Sourcegc_stats
Sourcemem_limit
Sourceparameters
Sourcepersister
Sourcerss
Sourcerss_log
Sourcesave_parameters!
Persist the global parameter store; used to flush after a bulk import that created parameters with save: false.
start_log_exchange
Sourcestats_collection_duration_seconds_total
Sourcestats_rates_collection_duration_seconds
Sourcestats_system_collection_duration_seconds
Sourcestop
Sourcesyncing_followers
Sourcesys_time
sys_time_log
update_stats_rates
Sourceupdate_system_metrics(statm)
Sourceuptime
Sourceuser_time
user_time_log
users
Sourcevhosts
Source