Ejemplo n.º 1
0
        public ScratchBufferPool(StorageEnvironment env)
        {
            _scratchPager = env.Options.CreateScratchPager("scratch.buffers");
            _scratchPager.AllocateMorePages(null, env.Options.InitialFileSize.HasValue ? Math.Max(env.Options.InitialFileSize.Value, env.Options.InitialLogFileSize) : env.Options.InitialLogFileSize);
	        _sizeLimit = env.Options.MaxScratchBufferSize;
        }
Ejemplo n.º 2
0
 public ScratchBufferPool(StorageEnvironment env)
 {
     _scratchPager = env.Options.CreateScratchPager("scratch.buffers");
     _scratchPager.AllocateMorePages(null, env.Options.InitialLogFileSize);
 }
Ejemplo n.º 3
0
 public ScratchBufferPool(StorageEnvironment env)
 {
     _scratchPager = env.Options.CreateScratchPager("scratch.buffers");
     _scratchPager.AllocateMorePages(null, env.Options.InitialLogFileSize);
 }
Ejemplo n.º 4
0
 public ScratchBufferPool(StorageEnvironment env)
 {
     _scratchPager = env.Options.CreateScratchPager("scratch.buffers");
     _scratchPager.AllocateMorePages(null, env.Options.InitialFileSize.HasValue ? Math.Max(env.Options.InitialFileSize.Value, env.Options.InitialLogFileSize) : env.Options.InitialLogFileSize);
     _sizeLimit = env.Options.MaxScratchBufferSize;
 }