Example #1
0
 public TrackingBufferAllocator(int maxBufferSize, long maxBufferPoolSize)
 {
     pool    = BufferManager.CreateBufferManager(maxBufferPoolSize, maxBufferSize);
     perfMon = new BufferAllocatorPerformanceMonitor("TrackingBufferAllocator");
 }
 public BufferManagerAllocator(int maxBufferSize = 1024 * 1024, long maxBufferPoolSize = 1024 * 1024 * 16)
 {
     pool    = BufferManager.CreateBufferManager(maxBufferPoolSize, maxBufferSize);
     perfMon = new BufferAllocatorPerformanceMonitor("BufferManagerAllocator");
 }