/** * Retrieve an {@link AsyncAdmin} implementation to administer an HBase cluster. * <p> * The returned instance will use default configs. Use {@link #getAdminBuilder(ExecutorService)} * if you want to customize some configs. * @param pool the thread pool to use for executing callback * @return an {@link AsyncAdmin} instance for cluster administration */ default AsyncAdmin getAdmin(ExecutorService pool) { return getAdminBuilder(pool).build(); }
private static AsyncAdminBuilder getRawAsyncAdminBuilder() { return ASYNC_CONN.getAdminBuilder(); }
/** * Retrieve an {@link AsyncAdmin} implementation to administer an HBase cluster. * <p> * The returned instance will use default configs. Use {@link #getAdminBuilder()} if you want to * customize some configs. * <p> * The admin operation's returned {@code CompletableFuture} will be finished directly in the rpc * framework's callback thread, so typically you should not do any time consuming work inside * these methods. * @return an {@link AsyncAdmin} instance for cluster administration */ default AsyncAdmin getAdmin() { return getAdminBuilder().build(); }
private static AsyncAdminBuilder getAsyncAdminBuilder() { return ASYNC_CONN.getAdminBuilder(ForkJoinPool.commonPool()); }
/** * Retrieve an {@link AsyncAdmin} implementation to administer an HBase cluster. * <p> * The returned instance will use default configs. Use {@link #getAdminBuilder(ExecutorService)} * if you want to customize some configs. * @param pool the thread pool to use for executing callback * @return an {@link AsyncAdmin} instance for cluster administration */ default AsyncAdmin getAdmin(ExecutorService pool) { return getAdminBuilder(pool).build(); }
/** * Retrieve an {@link AsyncAdmin} implementation to administer an HBase cluster. * <p> * The returned instance will use default configs. Use {@link #getAdminBuilder()} if you want to * customize some configs. * <p> * The admin operation's returned {@code CompletableFuture} will be finished directly in the rpc * framework's callback thread, so typically you should not do any time consuming work inside * these methods. * @return an {@link AsyncAdmin} instance for cluster administration */ default AsyncAdmin getAdmin() { return getAdminBuilder().build(); }
/** * Retrieve an {@link AsyncAdmin} implementation to administer an HBase cluster. * <p> * The returned instance will use default configs. Use {@link #getAdminBuilder(ExecutorService)} * if you want to customize some configs. * @param pool the thread pool to use for executing callback * @return an {@link AsyncAdmin} instance for cluster administration */ default AsyncAdmin getAdmin(ExecutorService pool) { return getAdminBuilder(pool).build(); }
private static AsyncAdminBuilder getRawAsyncAdminBuilder() { return ASYNC_CONN.getAdminBuilder(); }
/** * Retrieve an {@link AsyncAdmin} implementation to administer an HBase cluster. * <p> * The returned instance will use default configs. Use {@link #getAdminBuilder()} if you want to * customize some configs. * <p> * The admin operation's returned {@code CompletableFuture} will be finished directly in the rpc * framework's callback thread, so typically you should not do any time consuming work inside * these methods. * @return an {@link AsyncAdmin} instance for cluster administration */ default AsyncAdmin getAdmin() { return getAdminBuilder().build(); }
private static AsyncAdminBuilder getAsyncAdminBuilder() { return ASYNC_CONN.getAdminBuilder(ForkJoinPool.commonPool()); }