Java Thread Executor Pool getThrealPool()

Here you can find the source of getThrealPool()

Description

get Threal Pool

License

Apache License

Declaration

public static ExecutorService getThrealPool() 

Method Source Code

//package com.java2s;
//License from project: Apache License 

import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;

public class Main {
    private static ExecutorService threalPool = Executors.newCachedThreadPool();

    public static ExecutorService getThrealPool() {
        return threalPool;
    }/*from  w  ww  . ja  v  a 2  s.c  o  m*/
}

Related

  1. getPool()
  2. getPool()
  3. getQueuedThreadPool(double threadToCpuRatio, int queueCapacity)
  4. getRecheckThreadPool()
  5. getThreadPool()
  6. getTightThreadPool()
  7. normalShutdown(ExecutorService pool, int timeout, TimeUnit timeUnit)
  8. safeClose(ExecutorService pool)