Class: Octo::ProductHit

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

Constant Summary collapse

COUNTERS =
30

Constants included from Counter

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

Constants included from Counter::Helper

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 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