public void ClearCache() { TDFMarketData[] tmp; while (MarketDataCache.TryDequeue(out tmp) == true) { ; } TDFTransaction[] tmp2; while (TransactionCache.TryDequeue(out tmp2) == true) { ; } TDFOrder[] tmp3; while (OrderCache.TryDequeue(out tmp3) == true) { ; } TDFOrderQueue[] tmp4; while (OrderQueueCache.TryDequeue(out tmp4) == true) { ; } }