Name

ThreadPolicy

Synopsis

A Policy that indicates the threading policy used by the POA. A value of ThreadPolicyValue.ORB_CTRL_MODEL indicates that the ORB allocates POA requests to threads. A value of ThreadPolicyValue.SINGLE_THREAD_MODEL indicates that all requests for the POA are serialized within a single thread. The default value is ORB_CTRL_MODEL.

                  
public interface ThreadPolicy extends ThreadPolicyOperations, org.omg.CORBA.Policy, 
        org.omg.CORBA.portable.IDLEntity {
}

Returned By

POAOperations.create_thread_policy()

Get Java Enterprise in a Nutshell, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.