public void StreamThickClient() { for (var i = 0; i < EntryCount; i++) { ThickStreamer.Add(i, -i); } ThickStreamer.Flush(); }
public void Setup() { // Create streamers and warm them up. ThinStreamer = Client.GetDataStreamer <int, int>(CacheName); ThickStreamer = ThickClient.GetDataStreamer <int, int>(CacheName); for (int i = 0; i < DataStreamerDefaults.DefaultPerNodeBufferSize * 10; i++) { ThinStreamer.Add(-i, -i); ThickStreamer.Add(i, i); } ThickStreamer.Flush(); ThinStreamer.Flush(); Cache.Clear(); }
public void Cleanup() { ThickStreamer.Dispose(); ThinStreamer.Dispose(); }