Class: IControl::LocalLB::RAMCacheInformation
- Inherits:
-
Base
- Object
- Base
- IControl::LocalLB::RAMCacheInformation
- Defined in:
- lib/icontrol/local_lb/ram_cache_information.rb,
lib/icontrol/local_lb.rb
Overview
The RAMCacheInformation interface enables you to query for RAM cache entries/statistics, as well as evicting RAM cache entries.
Defined Under Namespace
Classes: RAMCacheEntry, RAMCacheEntryExactMatch, RAMCacheEntryExactMatchSequence, RAMCacheEntryExactMatchSequenceSequence, RAMCacheEntrySequence, RAMCacheEntrySequenceSequence, RAMCacheKey, RAMCacheKeySequence, RAMCacheVaryType, RAMCacheVaryTypeSequence
Instance Method Summary collapse
-
#evict_all_ramcache_entries ⇒ Object
Resets/evicts all cache entries.
-
#evict_ramcache_entry ⇒ Object
Note: This function has been deprecated.
-
#evict_ramcache_entry_v2(opts) ⇒ Object
Resets/evicts the cache entries associated with this key.
-
#ramcache_entry ⇒ RAMCacheEntry[]
Gets the RAM cache entries associated with this key.
-
#ramcache_entry_exact_match ⇒ RAMCacheEntryExactMatch[]
Gets the RAM cache entries associated with this key.
-
#version ⇒ String
Gets the version information for this interface.
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class IControl::Base
Instance Method Details
#evict_all_ramcache_entries ⇒ Object
Resets/evicts all cache entries.
25 26 27 |
# File 'lib/icontrol/local_lb/ram_cache_information.rb', line 25 def evict_all_ramcache_entries super end |
#evict_ramcache_entry ⇒ Object
Note: This function has been deprecated. Please use evict_ramcache_entry_v2. Resets/evicts the cache entries associated with this key. Note: The "max_responses“ field in each RAMCacheKey key is ignored in this method.
37 38 39 |
# File 'lib/icontrol/local_lb/ram_cache_information.rb', line 37 def evict_ramcache_entry super end |
#evict_ramcache_entry_v2(opts) ⇒ Object
Resets/evicts the cache entries associated with this key. Note: The "max_responses“ field in each RAMCacheKey key is ignored in this method.
50 51 52 53 |
# File 'lib/icontrol/local_lb/ram_cache_information.rb', line 50 def evict_ramcache_entry_v2(opts) opts = check_params(opts,[:exact_match]) super(opts) end |
#ramcache_entry ⇒ RAMCacheEntry[]
Gets the RAM cache entries associated with this key. The "profile_name“ in the key is required, however, other fields in each key are optionally specified. "max_response” is recommended to be set to avoid possible large amount of entries.
65 66 67 |
# File 'lib/icontrol/local_lb/ram_cache_information.rb', line 65 def ramcache_entry super end |
#ramcache_entry_exact_match ⇒ RAMCacheEntryExactMatch[]
Gets the RAM cache entries associated with this key. Each field in the key must be provided, and together the key is used to extract a specific entry. However, since each entry with the same profile/hostname/URI can still vary based on the User-Agent or Accept-Encoding headers, a separate entry will be returned for each variation, with also the specific header string that causes the variation.
80 81 82 |
# File 'lib/icontrol/local_lb/ram_cache_information.rb', line 80 def ramcache_entry_exact_match super end |
#version ⇒ String
Gets the version information for this interface.
88 89 90 |
# File 'lib/icontrol/local_lb/ram_cache_information.rb', line 88 def version super end |