Search in sources :

Example 1 with QuickFailingTaskRunner

use of org.apache.phoenix.hbase.index.parallel.QuickFailingTaskRunner in project phoenix by apache.

the class ParallelWriterIndexCommitter 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.factory = new CachingHTableFactory(factory, cacheSize, env);
    this.pool = new QuickFailingTaskRunner(pool);
    this.stopped = stop;
}
Also used : QuickFailingTaskRunner(org.apache.phoenix.hbase.index.parallel.QuickFailingTaskRunner) CachingHTableFactory(org.apache.phoenix.hbase.index.table.CachingHTableFactory)

Aggregations

QuickFailingTaskRunner (org.apache.phoenix.hbase.index.parallel.QuickFailingTaskRunner)1 CachingHTableFactory (org.apache.phoenix.hbase.index.table.CachingHTableFactory)1