Class: Groups::MergeRequestsCountService

Inherits:
CountService show all
Defined in:
app/services/groups/merge_requests_count_service.rb

Overview

Service class for counting and caching the number of open merge requests of a group.

Constant Summary

Constants inherited from CountService

CountService::CACHED_COUNT_THRESHOLD, CountService::EXPIRATION_TIME, CountService::VERSION

Instance Attribute Summary

Attributes inherited from CountService

#group, #user

Method Summary

Methods inherited from CountService

#cache_key, #count, #initialize, #refresh_cache_over_threshold

Methods inherited from BaseCountService

#cache_key, #cache_options, #count, #count_stored?, #delete_cache, #raw?, #refresh_cache, #uncached_count, #update_cache_for_key

Constructor Details

This class inherits a constructor from Groups::CountService