net_instaweb::ApacheConfig Class Reference

#include "apache_config.h"

Inheritance diagram for net_instaweb::ApacheConfig:
net_instaweb::RewriteOptions

List of all members.

Classes

class  ApacheOption

Public Types

enum  RefererStatisticsOutputLevel { kFast, kSimple, kOrganized }

Public Member Functions

 ApacheConfig (const StringPiece &dir)
StringPiece description () const
void set_description (const StringPiece &x)
int64 file_cache_clean_interval_ms () const
void set_file_cache_clean_interval_ms (int64 x)
int64 file_cache_clean_size_kb () const
void set_file_cache_clean_size_kb (int64 x)
int64 lru_cache_byte_limit () const
void set_lru_cache_byte_limit (int64 x)
int64 lru_cache_kb_per_process () const
void set_lru_cache_kb_per_process (int64 x)
int64 fetcher_time_out_ms () const
void set_fetcher_time_out_ms (int64 x)
int64 slurp_flush_limit () const
void set_slurp_flush_limit (int64 x)
bool use_shared_mem_locking () const
void set_use_shared_mem_locking (bool x)
bool collect_referer_statistics () const
void set_collect_referer_statistics (bool x)
bool hash_referer_statistics () const
void set_hash_referer_statistics (bool x)
bool statistics_enabled () const
void set_statistics_enabled (bool x)
bool slurp_read_only () const
void set_slurp_read_only (bool x)
RefererStatisticsOutputLevel referer_statistics_output_level () const
void set_referer_statistics_output_level (RefererStatisticsOutputLevel x)
const GoogleStringfile_cache_path () const
void set_file_cache_path (GoogleString x)
const GoogleStringfilename_prefix () const
void set_filename_prefix (GoogleString x)
const GoogleStringslurp_directory () const
void set_slurp_directory (GoogleString x)
const GoogleStringfetcher_proxy () const
void set_fetcher_proxy (GoogleString x)
bool test_proxy () const
void set_test_proxy (bool x)
bool slurping_enabled () const
 Helper functions.
bool slurping_enabled_read_only () const
virtual RewriteOptionsClone () const
 Make an identical copy of these options and return it.
virtual const char * class_name () const
 Name of the actual type of this instance as a poor man's RTTI.

Static Public Member Functions

static bool ParseRefererStatisticsOutputLevel (const StringPiece &in, RefererStatisticsOutputLevel *out)
static const ApacheConfigDynamicCast (const RewriteOptions *instance)
static ApacheConfigDynamicCast (RewriteOptions *instance)

Static Public Attributes

static const char kClassName []

Detailed Description

Establishes a context for VirtualHosts and directory-scoped options, either via .htaccess or <Directory>...</Directory>.


Member Function Documentation

StringPiece net_instaweb::ApacheConfig::description (  )  const [inline]

Human-readable description of what this configuration is for. This may be a directory, or a string indicating a combination of directives for multiple directories.

static const ApacheConfig* net_instaweb::ApacheConfig::DynamicCast ( const RewriteOptions instance  )  [static]

Returns a suitably down cast version of 'instance' if it is an instance of this class, NULL if not.

bool net_instaweb::ApacheConfig::test_proxy (  )  const [inline]

Controls whether we act as a rewriting proxy, fetching URLs from origin without managing a slurp dump.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Generated on Tue May 29 16:33:45 2012 for Page Speed Optimization Libraries by  doxygen 1.6.3