internal static bool ReturnEntryToPool(CacheEntry e, PoolManager poolManager) { if (poolManager == null) { return(false); } if (e != null && e.FromPool(poolManager)) { e.ReturnLeasableToPool(); poolManager.GetCacheEntryPool().Return(e); return(true); } return(false); }