public enum ThreadingModel extends Enum<ThreadingModel>
| 列挙型定数と説明 |
|---|
LISTENER |
NONE |
OPERATION |
OPERATION_LISTENER |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
ThreadingModel |
addListener() |
ThreadingModel |
addOperation() |
static ThreadingModel |
fromId(byte id) |
byte |
id() |
ThreadingModel |
removeListener() |
ThreadingModel |
removeOperation() |
boolean |
threadedListener()
true if the invocation of the action result listener will be executed
on a different thread (than the calling thread or an "expensive" thread, like the
IO thread).
|
boolean |
threadedOperation()
true if the actual operation the action represents will be executed
on a different thread than the calling thread (assuming it will be executed
on the same node).
|
static ThreadingModel |
valueOf(String name)
指定した名前を持つこの型の列挙型定数を返します。
|
static ThreadingModel[] |
values()
この列挙型の定数を含む配列を宣言されている順序で返します。
|
public static final ThreadingModel NONE
public static final ThreadingModel OPERATION
public static final ThreadingModel LISTENER
public static final ThreadingModel OPERATION_LISTENER
public static ThreadingModel[] values()
for(ThreadingModel c: ThreadingModel.values()) System.out.println(c);
public static ThreadingModel valueOf(String name)
name - 返される列挙型定数の名前。IllegalArgumentException - この列挙型に、指定した名前の定数がない場合NullPointerException - 引数がnullの場合public byte id()
public boolean threadedOperation()
public boolean threadedListener()
public ThreadingModel addListener()
public ThreadingModel removeListener()
public ThreadingModel addOperation()
public ThreadingModel removeOperation()
public static ThreadingModel fromId(byte id)
Copyright © 2009–2016. All rights reserved.