public static enum ThreadPool.ThreadPoolType extends Enum<ThreadPool.ThreadPoolType>
| 修飾子とタイプ | メソッドと説明 |
|---|---|
static ThreadPool.ThreadPoolType |
fromType(String type) |
String |
getType() |
static ThreadPool.ThreadPoolType |
valueOf(String name)
指定した名前を持つこの型の列挙型定数を返します。
|
static ThreadPool.ThreadPoolType[] |
values()
この列挙型の定数を含む配列を宣言されている順序で返します。
|
public static final ThreadPool.ThreadPoolType CACHED
public static final ThreadPool.ThreadPoolType DIRECT
public static final ThreadPool.ThreadPoolType FIXED
public static final ThreadPool.ThreadPoolType SCALING
public static ThreadPool.ThreadPoolType[] values()
for(ThreadPool.ThreadPoolType c: ThreadPool.ThreadPoolType.values()) System.out.println(c);
public static ThreadPool.ThreadPoolType valueOf(String name)
name - 返される列挙型定数の名前。IllegalArgumentException - この列挙型に、指定した名前の定数がない場合NullPointerException - 引数がnullの場合public String getType()
public static ThreadPool.ThreadPoolType fromType(String type)
Copyright © 2009–2016. All rights reserved.