ABOUT ME

-

Today
-
Yesterday
-
Total
-
  • 자바
    Platform/프로세스 2013. 6. 29. 23:12

    Object

    synchronized

    .wait()

    .notify()


    Runnable // interface

    .run()


    java.lang.Thread implements Runnable

    .sleep() // static


    .start()

    .join()


    java.util.concurrent.Callable<> // interface; since 1.5

    .call()


    java.util.concurrent.Future<> // interface; since 1.5

    .get()


    Process



    java.util.concurrent.Executors

    .newSingleThreadExecutor() // static; ExecutorService

    .newCachedThreadPool() // static; ExecutorService

    .newFixedThreadPool() // static; ExecutorService


    java.util.concurrent.ExecutorService -> Executor // interface

    .shutdown()

    .execute()

    .submit(Callable<T>)


    java.util.concurrent.AbstractExecutorService implements ExecutorService


    java.util.concurrent.ThreadPoolExecutor -> AbstractExecutorService

    java.util.concurrent.ForkJoinTask<> // JDK 7

    .fork()

    .join()


    java.util.concurrent.RecursiveTask<> -> ForkJoinTask<> // JDK 7


    java.util.concurrent.ForkJoinPool -> AbstractExecutorService // JDK 7

    .invoke()



    참조 사이트:

    http://javacan.tistory.com/entry/134

    http://powerkkim.tistory.com/entry/ThreadPoolExecutor-%EC%82%AC%EC%9A%A9%ED%95%98%EA%B8%B0

    http://blog.naver.com/jjoommnn/130109918061

    https://howtodoinjava.com/java7/forkjoin-framework-tutorial-forkjoinpool-example/


Designed by Tistory.