use of org.apache.phoenix.hbase.index.parallel.WaitForCompletionTaskRunner in project phoenix by apache.
the class TrackingParallelWriterIndexCommitter method setup.
/**
* Setup <tt>this</tt>.
* <p>
* Exposed for TESTING
*/
void setup(HTableFactory factory, ExecutorService pool, Abortable abortable, Stoppable stop, int cacheSize, RegionCoprocessorEnvironment env) {
this.pool = new WaitForCompletionTaskRunner(pool);
this.factory = new CachingHTableFactory(factory, cacheSize, env);
this.abortable = new CapturingAbortable(abortable);
this.stopped = stop;
}
Aggregations