Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package com.arjuna.ats.arjuna.coordinator;
 
 
 
public class TwoPhaseCommitThreadPool {
    private static final int poolSize = arjPropertyManager.getCoordinatorEnvironmentBean().
            getMaxTwoPhaseCommitThreads();
    private static final ExecutorService executor = Executors.newFixedThreadPool();
    public static Future<IntegersubmitJob(Callable<Integerjob) {
        return .submit(job);
    }
    public static void submitJob(Runnable job) {
        .submit(job);
    }
New to GrepCode? Check out our FAQ X