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

#expirationNumeric

When the document will expire, in seconds since Unix epoch.

Returns:

  • (Numeric)

    the current value of expiration



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

def expiration
  @expiration
end

#hitsNumeric

Total number of document hits.

Returns:

  • (Numeric)

    the current value of hits



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

def hits
  @hits
end

#host_nameString

The destination host name.

Returns:

  • (String)

    the current value of host_name



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

def host_name
  @host_name
end

#last_sentNumeric

When the document was last served, in seconds since Unix epoch.

Returns:

  • (Numeric)

    the current value of last_sent



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

def last_sent
  @last_sent
end

#profile_nameString

The profile name for which this entry is based on.

Returns:

  • (String)

    the current value of profile_name



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

def profile_name
  @profile_name
end

#receivedNumeric

When the document was first received, in seconds since Unix epoch.

Returns:

  • (Numeric)

    the current value of received



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

def received
  @received
end

#sizeNumeric

Total memory taken by all instances of documents for this URI. This includes the HTTP headers.

Returns:

  • (Numeric)

    the current value of size



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

def size
  @size
end

#uriString

The document URI that is cached.

Returns:

  • (String)

    the current value of uri



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

def uri
  @uri
end

#vary_countNumeric

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.

Returns:

  • (Numeric)

    the current value of vary_count



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

def vary_count
  @vary_count
end

#vary_typeIControl::LocalLB::RAMCacheInformation::RAMCacheVaryType

An indicator of how content varies.

Returns:



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

def vary_type
  @vary_type
end