public BFile(BrokerPool pool, byte fileId, boolean transactional, File file, DefaultCacheManager cacheManager,
double cacheGrowth, double thresholdBTree, double thresholdData) throws DBException {
super(pool, fileId, transactional, cacheManager, file, thresholdBTree);
fileHeader = (BFileHeader) getFileHeader();
dataCache = new LRUCache(64, cacheGrowth, thresholdData, CacheManager.DATA_CACHE);
dataCache.setFileName(file.getName());
cacheManager.registerCache(dataCache);
minFree = PAGE_MIN_FREE;
lock = new ReentrantReadWriteLock(file.getName());
maxValueSize = fileHeader.getWorkSize() / 2;