Searched refs:mBufferPool (Results 1 – 8 of 8) sorted by relevance
24 mBufferPool.setCapacity(size); in BufferCache()29 if (mBufferPool.size() != 0) { in ~BufferCache()32 mBufferPool.clear(); in ~BufferCache()37 ssize_t index = mBufferPool.indexOfKey(handle); in addMapper()44 index = mBufferPool.add(handle, mapper); in addMapper()62 index = mBufferPool.removeItem(mapper->getKey()); in removeMapper()73 ssize_t index = mBufferPool.indexOfKey(handle); in getMapper()78 return mBufferPool.valueAt(index); in getMapper()83 return mBufferPool.size(); in getCacheSize()88 if (index >= mBufferPool.size()) { in getMapper()[all …]
29 mBufferPool(NULL), in BufferManager()52 mBufferPool = new BufferCache(DEFAULT_BUFFER_POOL_SIZE); in initialize()53 if (!mBufferPool) { in initialize()77 if (mBufferPool) { in deinitialize()79 for (size_t i = 0; i < mBufferPool->getCacheSize(); i++) { in deinitialize()80 BufferMapper *mapper = mBufferPool->getMapper(i); in deinitialize()85 delete mBufferPool; in deinitialize()86 mBufferPool = NULL; in deinitialize()109 d.append("Buffer Manager status: pool size %d\n", mBufferPool->getCacheSize()); in dump()111 for (size_t i = 0; i < mBufferPool->getCacheSize(); i++) { in dump()[all …]
41 KeyedVector<uint64_t, BufferMapper*> mBufferPool;
29 mBufferPool(NULL), in BufferManager()52 mBufferPool = new BufferCache(DEFAULT_BUFFER_POOL_SIZE); in initialize()53 if (!mBufferPool) { in initialize()77 if (mBufferPool) { in deinitialize()79 for (size_t i = 0; i < mBufferPool->getCacheSize(); i++) { in deinitialize()80 BufferMapper *mapper = mBufferPool->getMapper(i); in deinitialize()85 delete mBufferPool; in deinitialize()86 mBufferPool = NULL; in deinitialize()109 d.append("Buffer Manager status: pool size %d\n", mBufferPool->getCacheSize()); in dump()111 for (uint32_t i = 0; i < mBufferPool->getCacheSize(); i++) { in dump()[all …]
77 BufferCache *mBufferPool; variable