站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JDK 5 Documentation v1.4.1, Java 2 SDK 英文文档

ThreadPolicyValue (Java 2 Platform SE v1.4.1) - JDK 5 Documentation v1.4.1, Java 2 SDK 英文文档

JavaTM 2 Platform
Std. Ed. v1.4.1

org.omg.PortableServer
Class ThreadPolicyValue

java.lang.Object
  |
  +--org.omg.PortableServer.ThreadPolicyValue
All Implemented Interfaces:
IDLEntity, Serializable

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
static int _ORB_CTRL_MODEL
           
static int _SINGLE_THREAD_MODEL
           
static ThreadPolicyValue ORB_CTRL_MODEL
           
static ThreadPolicyValue SINGLE_THREAD_MODEL
           
 
Constructor Summary
protected ThreadPolicyValue(int value)
           
 
Method Summary
static ThreadPolicyValue from_int(int value)
           
 int value()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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
Constructor Detail

ThreadPolicyValue

protected ThreadPolicyValue(int value)
Method Detail

value

public int value()

from_int

public static ThreadPolicyValue from_int(int value)

JavaTM 2 Platform
Std. Ed. v1.4.1

Submit a bug or feature
For further API reference and developer documentation, see Java 2 SDK SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright 2002 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.