public static void AddOrUpdate(string entityAddress, RuntimeEntityDescription newEntityDescription)
        {
            if (string.IsNullOrWhiteSpace(entityAddress))
            {
                throw new ArgumentException(SRCore.ArgumentNullOrEmpty("entityAddress"));
            }
            if (newEntityDescription == null)
            {
                throw new ArgumentNullException("newEntityDescription");
            }
            MemoryCache              memoryCaches              = RuntimeEntityDescriptionCache.entityDescriptionCache;
            string                   upperInvariant            = entityAddress.ToUpperInvariant();
            DateTimeOffset           utcNow                    = DateTimeOffset.UtcNow;
            RuntimeEntityDescription enableMessagePartitioning = (RuntimeEntityDescription)memoryCaches.AddOrGetExisting(upperInvariant, newEntityDescription, utcNow.Add(RuntimeEntityDescriptionCache.cacheEntryTtl), null);

            if (enableMessagePartitioning != null)
            {
                enableMessagePartitioning.EnableMessagePartitioning = newEntityDescription.EnableMessagePartitioning;
            }
        }