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

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

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

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

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

فونت

اندازه قلم

+ - پیش فرض

حالت نمایش

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


ThreadFactoryjava.util.concurrent

Java 5.0

An instance of this interface is an
object that creates Thread objects to run
Runnable objects. You might define a
THReadFactory if you want to set the priority,
name, or ThreadGroup of the threads used by a
ThreadPoolExecutor, for example. A number of the
factory methods of the Executors utility class
rely on THReadPoolExecutor and accept a
ThreadFactory argument.

public interface

ThreadFactory {
// Public Instance Methods
Thread

newThread (Runnable

r );
}


Passed To


Executors.{newCachedThreadPool( ),
newFixedThreadPool( ),
newScheduledThreadPool( ),
newSingleThreadExecutor( ),
newSingleThreadScheduledExecutor( )},
ScheduledThreadPoolExecutor.ScheduledThreadPoolExecutor(
), ThreadPoolExecutor.{setThreadFactory(
), ThreadPoolExecutor( )}

Returned By


Executors.{defaultThreadFactory( ),
privilegedThreadFactory( )},
ThreadPoolExecutor.getThreadFactory( )


    / 1191