public abstract class AbstractTransactionExecutor extends Object implements TransactionExecutor
TransactionExecutor by delegating their execution
 to respective synchronous methods via provided ExecutorService.TransactionExecutor.Function<I,O>, TransactionExecutor.Procedure<I>, TransactionExecutor.Subroutine| Modifier | Constructor and Description | 
|---|---|
protected  | 
AbstractTransactionExecutor(ExecutorService executorService)  | 
| Modifier and Type | Method and Description | 
|---|---|
<O> O | 
executeUnchecked(Callable<O> callable)
Same as  
TransactionExecutor.execute(Callable) but
 suppresses exception with Throwables.propagate(Throwable) | 
<I,O> O | 
executeUnchecked(TransactionExecutor.Function<I,O> function,
                I input)
Same as  
TransactionExecutor.execute(Function, Object) but
 suppresses exception with Throwables.propagate(Throwable) | 
<I> void | 
executeUnchecked(TransactionExecutor.Procedure<I> procedure,
                I input)
Same as  
TransactionExecutor.execute(Procedure, Object) but
 suppresses exception with Throwables.propagate(Throwable) | 
void | 
executeUnchecked(TransactionExecutor.Subroutine subroutine)
Same as  
TransactionExecutor.execute(Subroutine) but
 suppresses exception with Throwables.propagate(Throwable) | 
<O> com.google.common.util.concurrent.ListenableFuture<O> | 
submit(Callable<O> callable)
Same as  
TransactionExecutor.execute(Callable) but executes asynchronously | 
<I,O> com.google.common.util.concurrent.ListenableFuture<O> | 
submit(TransactionExecutor.Function<I,O> function,
      I input)
Same as  
TransactionExecutor.execute(Function, Object) but executes asynchronously | 
<I> com.google.common.util.concurrent.ListenableFuture<?> | 
submit(TransactionExecutor.Procedure<I> procedure,
      I input)
Same as  
TransactionExecutor.execute(Procedure, Object) but executes asynchronously | 
com.google.common.util.concurrent.ListenableFuture<?> | 
submit(TransactionExecutor.Subroutine subroutine)
Same as  
TransactionExecutor.execute(Subroutine) but executes asynchronously | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexecute, execute, execute, executeprotected AbstractTransactionExecutor(ExecutorService executorService)
public <I,O> O executeUnchecked(TransactionExecutor.Function<I,O> function, I input)
TransactionExecutorTransactionExecutor.execute(Function, Object) but
 suppresses exception with Throwables.propagate(Throwable)executeUnchecked in interface TransactionExecutorpublic <I> void executeUnchecked(TransactionExecutor.Procedure<I> procedure, I input)
TransactionExecutorTransactionExecutor.execute(Procedure, Object) but
 suppresses exception with Throwables.propagate(Throwable)executeUnchecked in interface TransactionExecutorpublic <O> O executeUnchecked(Callable<O> callable)
TransactionExecutorTransactionExecutor.execute(Callable) but
 suppresses exception with Throwables.propagate(Throwable)executeUnchecked in interface TransactionExecutorpublic void executeUnchecked(TransactionExecutor.Subroutine subroutine)
TransactionExecutorTransactionExecutor.execute(Subroutine) but
 suppresses exception with Throwables.propagate(Throwable)executeUnchecked in interface TransactionExecutorpublic <I,O> com.google.common.util.concurrent.ListenableFuture<O> submit(TransactionExecutor.Function<I,O> function, I input)
TransactionExecutorTransactionExecutor.execute(Function, Object) but executes asynchronouslysubmit in interface TransactionExecutorpublic <I> com.google.common.util.concurrent.ListenableFuture<?> submit(TransactionExecutor.Procedure<I> procedure, I input)
TransactionExecutorTransactionExecutor.execute(Procedure, Object) but executes asynchronouslysubmit in interface TransactionExecutorpublic <O> com.google.common.util.concurrent.ListenableFuture<O> submit(Callable<O> callable)
TransactionExecutorTransactionExecutor.execute(Callable) but executes asynchronouslysubmit in interface TransactionExecutorpublic com.google.common.util.concurrent.ListenableFuture<?> submit(TransactionExecutor.Subroutine subroutine)
TransactionExecutorTransactionExecutor.execute(Subroutine) but executes asynchronouslysubmit in interface TransactionExecutorCopyright © 2016 The Apache Software Foundation. All rights reserved.