Class TwoPhaseCommitThreadPool
- java.lang.Object
-
- com.arjuna.ats.arjuna.coordinator.TwoPhaseCommitThreadPool
-
public class TwoPhaseCommitThreadPool extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description TwoPhaseCommitThreadPool()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.util.concurrent.CompletionService<java.lang.Boolean>getNewCompletionService()static voidsubmitJob(java.lang.Runnable job)static java.util.concurrent.Future<java.lang.Integer>submitJob(java.util.concurrent.Callable<java.lang.Integer> job)
-
-
-
Method Detail
-
submitJob
public static java.util.concurrent.Future<java.lang.Integer> submitJob(java.util.concurrent.Callable<java.lang.Integer> job)
-
submitJob
public static void submitJob(java.lang.Runnable job)
-
getNewCompletionService
public static java.util.concurrent.CompletionService<java.lang.Boolean> getNewCompletionService()
-
-