use of org.bboxdb.distribution.partitioner.regionsplit.RegionSplitter in project bboxdb by jnidzwetzki.
the class SSTableServiceRunnable method executeSplit.
/**
* Execute a region split
*
* @param sstableManager
* @param spacePartitioner
* @param regionToSplit
* @throws StorageManagerException
* @throws BBoxDBException
* @throws InterruptedException
*/
private void executeSplit(final TupleStoreManager sstableManager, final SpacePartitioner spacePartitioner, final DistributionRegion regionToSplit) throws Exception {
final TupleStoreManagerRegistry tupleStoreManagerRegistry = storage.getTupleStoreManagerRegistry();
final RegionSplitter regionSplitter = new RegionSplitter(tupleStoreManagerRegistry);
forceMajorCompact(sstableManager);
regionSplitter.splitRegion(regionToSplit, spacePartitioner, tupleStoreManagerRegistry);
}
Aggregations