- java.lang.Object
-
- org.omg.PortableServer.ThreadPolicyValue
-
- All Implemented Interfaces:
Serializable
,IDLEntity
public class ThreadPolicyValue extends Object implements IDLEntity
The ThreadPolicyValue can have the following values. ORB_CTRL_MODEL - The ORB is responsible for assigning requests for an ORB- controlled POA to threads. SINGLE_THREAD_MODEL - Requests for a single-threaded POA are processed sequentially.
-
-
Field Summary
Fields Modifier and Type Field Description static int
_ORB_CTRL_MODEL
static int
_SINGLE_THREAD_MODEL
static ThreadPolicyValue
ORB_CTRL_MODEL
static ThreadPolicyValue
SINGLE_THREAD_MODEL
-
Constructor Summary
Constructors Modifier Constructor Description protected
ThreadPolicyValue(int value)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ThreadPolicyValue
from_int(int value)
int
value()
-
-
-
Field Detail
-
_ORB_CTRL_MODEL
public static final int _ORB_CTRL_MODEL
- See Also:
- Constant Field Values
-
ORB_CTRL_MODEL
public static final ThreadPolicyValue ORB_CTRL_MODEL
-
_SINGLE_THREAD_MODEL
public static final int _SINGLE_THREAD_MODEL
- See Also:
- Constant Field Values
-
SINGLE_THREAD_MODEL
public static final ThreadPolicyValue SINGLE_THREAD_MODEL
-
-
Method Detail
-
value
public int value()
-
from_int
public static ThreadPolicyValue from_int(int value)
-
-