Class: Farce::Unshared::LFUMap
- Inherits:
-
Abstract::LFUMap
- Object
- Abstract::Map
- Abstract::BoundedMap
- Abstract::LFUMap
- Farce::Unshared::LFUMap
- Includes:
- Farce::Unshareable
- Defined in:
- lib/farce/unshared/lfu_map.rb
Overview
A thread-safe LFU map for mutable keys and values used within one Ractor.
Method Summary
Methods included from Farce::Unshareable
#initialize, #ractor_shareable?
Methods inherited from Abstract::BoundedMap
#[], #[]=, #clear, #compare_keys_by_identity?, #compare_values_by_identity?, #delete, #each, #each_key, #each_value, #fetch, #getkey, #initialize, #key?, #keys, #max_size, #max_size=, #prune, #shift, #size, #store_if_absent, #values
Methods included from Abstract::DuplicableMap
#compact, #compact_blank, #deep_dup, #duplicable?, #except, #flatten, #invert, #merge, #reject, #reverse_merge, #select, #slice, #stringify_keys, #symbolize_keys, #to_proc, #transform_keys, #transform_values, #with_indifferent_access
Methods inherited from Abstract::Map
#[], #[]=, #as_extended_json, #as_json, #assert_valid_keys, #assoc, #bson_type, #clear, #compare_by_identity?, #compare_keys_by_identity?, #compare_values_by_identity?, #deconstruct_keys, #delete, #dig, #each, #each_key, #each_pair, #each_value, #empty?, #fetch, #fetch_values, #getkey, #has_key?, #key, #key?, #keys, #length, #rassoc, #shareable_keys?, #shareable_values?, #size, #store, #store_if_absent, #to_a, #to_bson, #to_bson_normalized_value, #to_cbor, #to_h, #to_hash, #to_json, #to_msgpack, #to_query, #to_s, #value?, #values_at, #weak_keys?, #weak_values?