Package com.salesforce.hbase.index.parallel

Examples of com.salesforce.hbase.index.parallel.QuickFailingTaskRunner


   * @param env environment in which <tt>this</tt> is running. Used to setup the
   *          {@link IndexBuilder} and executor
   * @throws IOException if an {@link IndexBuilder} cannot be correctly steup
   */
  public IndexBuildManager(RegionCoprocessorEnvironment env) throws IOException {
    this(getIndexBuilder(env), new QuickFailingTaskRunner(ThreadPoolManager.getExecutor(
      getPoolBuilder(env), env)));
  }
View Full Code Here


   * Exposed for TESTING
   */
  void setup(HTableFactory factory, ExecutorService pool, Abortable abortable, Stoppable stop,
      int cacheSize) {
    this.factory = new CachingHTableFactory(factory, cacheSize);
    this.pool = new QuickFailingTaskRunner(pool);
    this.stopped = stop;
  }
View Full Code Here

TOP

Related Classes of com.salesforce.hbase.index.parallel.QuickFailingTaskRunner

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.