Java in a Nutshell, 5th Edition [Electronic resources] نسخه متنی

اینجــــا یک کتابخانه دیجیتالی است

با بیش از 100000 منبع الکترونیکی رایگان به زبان فارسی ، عربی و انگلیسی

Java in a Nutshell, 5th Edition [Electronic resources] - نسخه متنی

| نمايش فراداده ، افزودن یک نقد و بررسی
افزودن به کتابخانه شخصی
ارسال به دوستان
جستجو در متن کتاب
بیشتر
تنظیمات قلم

فونت

اندازه قلم

+ - پیش فرض

حالت نمایش

روز نیمروز شب
جستجو در لغت نامه
بیشتر
لیست موضوعات
توضیحات
افزودن یادداشت جدید


ThreadPoolExecutor.CallerRunsPolicyjava.util.concurrent

Java 5.0

This RejectedExecutionHandler

implementation runs the rejected
Runnable object directly in the calling thread,
causing that thread to block until the Runnable
completes. If the ThreadPoolExecutor has been shut
down, the Runnable is simply discarded instead of
being run.

public static class

ThreadPoolExecutor.CallerRunsPolicy implements RejectedExecutionHandler {
// Public Constructors
public

CallerRunsPolicy ( );
// Methods Implementing RejectedExecutionHandler
public void

rejectedExecution (Runnable

r , ThreadPoolExecutor

e );
}



    / 1191