Class: Octo::CategoryHit

Inherits:
Object
  • Object
show all
Extended by:
Counter, Scheduleable, Trendable
Includes:
MongoMapper::Document
Defined in:
lib/octocore-mongo/models/enterprise/category_hit.rb

Constant Summary collapse

COUNTERS =
20

Constants included from Counter

Octo::Counter::COUNTER_KEY_PREFIX, Octo::Counter::INDEX_KEY_PREFIX, Octo::Counter::SEPARATOR, Octo::Counter::TYPE_DAY, Octo::Counter::TYPE_DAY_3, Octo::Counter::TYPE_DAY_6, Octo::Counter::TYPE_HOUR, Octo::Counter::TYPE_HOUR_12, Octo::Counter::TYPE_HOUR_3, Octo::Counter::TYPE_HOUR_6, Octo::Counter::TYPE_MINUTE, Octo::Counter::TYPE_MINUTE_30, Octo::Counter::TYPE_WEEK

Constants included from Octo::Counter::Helper

Octo::Counter::Helper::METHOD_PREFIX

Constants included from MongoMapper::Document

MongoMapper::Document::DUMP_ATTRS

Method Summary

Methods included from Counter

aggregate, aggregate!, aggregate_and_create, call_completion_hook, countables, increment_for, local_count, local_counter_sum, update_counters

Methods included from Octo::Counter::Helper

counter_text, #generate_aggregators, #get_duration_for_counter_type, #get_fromtype_for_totype, #get_typecounters, #max_type, #method_names_type_counter, #string_to_const_val, #type_counters_method_names

Methods included from Trendable

aggregate!, baseline, trendables, trends_class

Methods included from KLDivergence

#kl_divergence

Methods included from Scheduleable

perform

Methods included from MongoMapper::Document

#marshal_dump, #marshal_load, redis, update_cache_config