Class: RedisCounters::UniqueValuesLists::Base
- Inherits:
-
BaseCounter
- Object
- BaseCounter
- RedisCounters::UniqueValuesLists::Base
- Includes:
- ClusterizeAndPartitionize
- Defined in:
- lib/redis_counters/unique_values_lists/base.rb
Overview
Базовый класс списка уникальных значений, с возможностью кластеризации и партиционирования.
Direct Known Subclasses
Constant Summary
Constants inherited from BaseCounter
BaseCounter::KEY_DELIMITER, BaseCounter::VALUE_DELIMITER
Instance Attribute Summary
Attributes inherited from BaseCounter
Instance Method Summary collapse
-
#has_value?(params) ⇒ Boolean
Public: Проверяет существует ли заданное значение.
Methods included from ClusterizeAndPartitionize
#data, #delete_all!, #delete_all_direct!, #delete_partition_direct!, #delete_partitions!, #partitions
Methods inherited from BaseCounter
create, #initialize, #name, #process
Constructor Details
This class inherits a constructor from RedisCounters::BaseCounter
Instance Method Details
#has_value?(params) ⇒ Boolean
Public: Проверяет существует ли заданное значение.
params - Hash - параметры кластера и значения.
Returns Boolean.
23 24 25 |
# File 'lib/redis_counters/unique_values_lists/base.rb', line 23 def has_value?(params) raise NotImplementedError end |