Class: IControl::LocalLB::RAMCacheInformation::RAMCacheEntry

Inherits:
Base::Struct
  • Object
show all
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)

Method Summary

Methods inherited from Base::Struct

from_soap, icontrol_attribute, #to_soap

Instance Attribute Details

- (Numeric) expiration

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

- (Numeric) hits

Total number of document hits.



104
105
106
# File 'lib/icontrol/local_lb/ram_cache_information.rb', line 104

def hits
  @hits
end

- (String) host_name

The destination host name.



104
105
106
# File 'lib/icontrol/local_lb/ram_cache_information.rb', line 104

def host_name
  @host_name
end

- (Numeric) last_sent

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

- (String) profile_name

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

- (Numeric) received

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

- (Numeric) size

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

- (String) uri

The document URI that is cached.



104
105
106
# File 'lib/icontrol/local_lb/ram_cache_information.rb', line 104

def uri
  @uri
end

- (Numeric) vary_count

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

- (IControl::LocalLB::RAMCacheInformation::RAMCacheVaryType) vary_type

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