Sha256: dfc5f5624441e4f51dcbe6af3ee420fe468312f944f557efc761a8c5e039904f
Contents?: true
Size: 835 Bytes
Versions: 13
Compression:
Stored size: 835 Bytes
Contents
require 'rubygems' require 'modern_times/remote_exception' require 'modern_times/marshal_strategy' require 'modern_times/base' require 'modern_times/jms' require 'modern_times/manager_mbean' require 'modern_times/manager' require 'modern_times/loggable' require 'modern_times/railsable' require 'modern_times/time_track' module ModernTimes extend ModernTimes::Loggable extend ModernTimes::Railsable DEFAULT_DOMAIN = 'ModernTimes' def self.manager_mbean_name(domain) domain = DEFAULT_DOMAIN unless domain "#{domain}.Manager" end def self.manager_mbean_object_name(domain) domain = DEFAULT_DOMAIN unless domain "#{domain}:type=Manager" end def self.supervisor_mbean_object_name(domain, worker_name) domain = DEFAULT_DOMAIN unless domain "#{domain}:worker=#{worker_name},type=Worker" end end
Version data entries
13 entries across 13 versions & 1 rubygems