27#ifndef _bes_http_EffectiveUrlCache_h_
28#define _bes_http_EffectiveUrlCache_h_ 1
36#include "BESDataHandlerInterface.h"
38#include "EffectiveUrl.h"
53 std::mutex d_cache_lock_mutex;
55 std::map<std::string , std::shared_ptr<http::EffectiveUrl>> d_effective_urls;
62 static void initialize_instance();
63 static void delete_instance();
65 std::shared_ptr<EffectiveUrl> get_cached_eurl(std::string
const &url_key);
73 friend class EffectiveUrlCacheTest;
81 void dump(std::ostream &strm)
const override;
82 virtual std::string
dump()
const;
top level BES object to house generic methods
Regular expression matching.
static EffectiveUrlCache * TheCache()
Get the singleton EffectiveUrlCache instance.
virtual std::string dump() const
dumps information about this object
std::shared_ptr< EffectiveUrl > get_effective_url(std::shared_ptr< url > source_url)
utility class for the HTTP catalog module