use of org.apache.ignite.internal.processors.cache.tree.CacheDataTree in project ignite by apache.
the class IgniteCacheOffheapManagerImpl method createCacheDataStore0.
/**
* @param p Partition.
* @return Cache data store.
* @throws IgniteCheckedException If failed.
*/
protected CacheDataStore createCacheDataStore0(int p) throws IgniteCheckedException {
final long rootPage = allocateForTree();
CacheDataRowStore rowStore = new CacheDataRowStore(grp, grp.freeList(), p);
String idxName = treeName(p);
CacheDataTree dataTree = new CacheDataTree(grp, idxName, grp.reuseList(), rowStore, rootPage, true);
return new CacheDataStoreImpl(p, idxName, rowStore, dataTree);
}
Aggregations