Class: Octo::ApiHit
- Inherits:
-
Object
- Object
- Octo::ApiHit
- Extended by:
- Counter, Scheduleable
- Includes:
- MongoMapper::Document
- Defined in:
- lib/octocore-mongo/models/enterprise/api_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