Class: IControl::LocalLB::RAMCacheInformation::RAMCacheEntry
- Inherits:
-
Base::Struct
- Object
- Base::Struct
- IControl::LocalLB::RAMCacheInformation::RAMCacheEntry
- Defined in:
- lib/icontrol/local_lb/ram_cache_information.rb,
lib/icontrol/local_lb/ram_cache_information.rb
Overview
A struct that describes a RAM Cache entry and related statistics.
Instance Attribute Summary collapse
-
#expiration ⇒ Numeric
When the document will expire, in seconds since Unix epoch.
-
#hits ⇒ Numeric
Total number of document hits.
-
#host_name ⇒ String
The destination host name.
-
#last_sent ⇒ Numeric
When the document was last served, in seconds since Unix epoch.
-
#profile_name ⇒ String
The profile name for which this entry is based on.
-
#received ⇒ Numeric
When the document was first received, in seconds since Unix epoch.
-
#size ⇒ Numeric
Total memory taken by all instances of documents for this URI.
-
#uri ⇒ String
The document URI that is cached.
-
#vary_count ⇒ Numeric
Number of different versions of documents stored for different clients and user agents.
-
#vary_type ⇒ IControl::LocalLB::RAMCacheInformation::RAMCacheVaryType
An indicator of how content varies.
Instance Attribute Details
#expiration ⇒ Numeric
When the document will expire, in seconds since Unix epoch.
104 105 106 |
# File 'lib/icontrol/local_lb/ram_cache_information.rb', line 104 def expiration @expiration end |
#hits ⇒ Numeric
Total number of document hits.
104 105 106 |
# File 'lib/icontrol/local_lb/ram_cache_information.rb', line 104 def hits @hits end |
#host_name ⇒ String
The destination host name.
104 105 106 |
# File 'lib/icontrol/local_lb/ram_cache_information.rb', line 104 def host_name @host_name end |
#last_sent ⇒ Numeric
When the document was last served, in seconds since Unix epoch.
104 105 106 |
# File 'lib/icontrol/local_lb/ram_cache_information.rb', line 104 def last_sent @last_sent end |
#profile_name ⇒ String
The profile name for which this entry is based on.
104 105 106 |
# File 'lib/icontrol/local_lb/ram_cache_information.rb', line 104 def profile_name @profile_name end |
#received ⇒ Numeric
When the document was first received, in seconds since Unix epoch.
104 105 106 |
# File 'lib/icontrol/local_lb/ram_cache_information.rb', line 104 def received @received end |
#size ⇒ Numeric
Total memory taken by all instances of documents for this URI. This includes the HTTP headers.
104 105 106 |
# File 'lib/icontrol/local_lb/ram_cache_information.rb', line 104 def size @size end |
#uri ⇒ String
The document URI that is cached.
104 105 106 |
# File 'lib/icontrol/local_lb/ram_cache_information.rb', line 104 def uri @uri end |
#vary_count ⇒ Numeric
Number of different versions of documents stored for different clients and user agents. For example, if compression is enabled, this value could be 2 because we will have a compressed and uncompressed versions stored in the cache.
104 105 106 |
# File 'lib/icontrol/local_lb/ram_cache_information.rb', line 104 def vary_count @vary_count end |
#vary_type ⇒ IControl::LocalLB::RAMCacheInformation::RAMCacheVaryType
An indicator of how content varies.
104 105 106 |
# File 'lib/icontrol/local_lb/ram_cache_information.rb', line 104 def vary_type @vary_type end |