BB.Caching.Cache.Prepare C# (CSharp) Méthode

Prepare() public static méthode

Calls any necessary preparation logic by the caching system. Before calling this, you need to either: 1. Programmatically set up your connections before calling this, manually adding connection groups by calling SharedCache.Instance.AddRedisConnectionGroup(...); 2. Call Cache.LoadFromConfig(...) to load your settings from a configuration file.
public static Prepare ( ) : void
Résultat void
        public static void Prepare()
        {
            // free of side-effects
            Cache.SubscribeCacheDeleteChannel();
            RateLimiter.ScriptLoad();
            Statistics.ScriptLoad();
        }