Sha256: a613ccbfa47ddf581851d948e8b7d01b8ca29c0778af853501df6a4e3a851099

Contents?: true

Size: 608 Bytes

Versions: 3

Compression:

Stored size: 608 Bytes

Contents

# -*- ruby -*-
# frozen_string_literal: true

require 'mongrel2' unless defined?( Mongrel2 )
require 'mongrel2/config' unless defined?( Mongrel2::Config )

# Mongrel2 configuration statistic class
class Mongrel2::Config::Statistic < Mongrel2::Config( :statistic )

	# As of Mongrel2-1.8.0:
	# CREATE TABLE statistic (id SERIAL,
	#     other_type TEXT,
	#     other_id INTEGER,
	#     name TEXT,
	#     sum REAL,
	#     sumsq REAL,
	#     n INTEGER,
	#     min REAL,
	#     max REAL,
	#     mean REAL,
	#     sd REAL,
	#     primary key (other_type, other_id, name));

end # class Mongrel2::Config::Statistic

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
mongrel2-0.55.0 lib/mongrel2/config/statistic.rb
mongrel2-0.54.0 lib/mongrel2/config/statistic.rb
mongrel2-0.53.0 lib/mongrel2/config/statistic.rb