Java Thread Executor isShutDown(ExecutorService executorService)

Here you can find the source of isShutDown(ExecutorService executorService)

Description

is Shut Down

License

Open Source License

Declaration

public static boolean isShutDown(ExecutorService executorService) 

Method Source Code


//package com.java2s;
import java.util.concurrent.ExecutorService;

public class Main {

    public static boolean isShutDown(ExecutorService executorService) {
        return (executorService == null || executorService.isShutdown());
    }//from   ww  w .  ja  v a  2  s . c  om
}

Related

  1. getConstantLookup()
  2. getThreadExecutor(int nThreads)
  3. isCorrectCollectionSizeTimeOut(Collection collection, int size, long timeout, TimeUnit unit)
  4. isRegularlyDone(Future future)
  5. isShutdown(Executor executor)
  6. setTimeout(Long duration, Runnable csr)
  7. submitTask(Runnable command)