Class: Pause::Redis::ShardedAdapter

Inherits:
Adapter
  • Object
show all
Defined in:
lib/pause/redis/sharded_adapter.rb

Overview

This class encapsulates Redis operations used by Pause. Operations that are not possible when data is sharded raise an error.

Instance Attribute Summary

Attributes inherited from Adapter

#history, #resolution, #time_blocks_to_keep

Method Summary

Methods inherited from Adapter

#all_keys, #delete_rate_limited_key, #delete_rate_limited_keys, #disable, #disabled?, #enable, #enabled?, #expire_block_list, #increment, #initialize, #key_history, #rate_limit!, #rate_limited?, #rate_limited_keys

Methods included from Helper::Timing

#period_marker

Constructor Details

This class inherits a constructor from Pause::Redis::Adapter