00001 // -*- C++ -*- 00002 // 00003 // $Id: Thread_Pool.inl 80216 2007-12-10 08:15:33Z johnnyw $ 00004 00005 TAO_BEGIN_VERSIONED_NAMESPACE_DECL 00006 00007 ACE_INLINE 00008 TAO_Thread_Lane & 00009 TAO_Thread_Pool_Threads::lane (void) const 00010 { 00011 return this->lane_; 00012 } 00013 00014 ACE_INLINE 00015 CORBA::ULong 00016 TAO_Thread_Lane::id (void) const 00017 { 00018 return this->id_; 00019 } 00020 00021 ACE_INLINE 00022 TAO_Thread_Pool & 00023 TAO_Thread_Lane::pool (void) const 00024 { 00025 return this->pool_; 00026 } 00027 00028 ACE_INLINE 00029 CORBA::Short 00030 TAO_Thread_Lane::lane_priority (void) const 00031 { 00032 return this->lane_priority_; 00033 } 00034 00035 ACE_INLINE 00036 CORBA::Short 00037 TAO_Thread_Lane::native_priority (void) const 00038 { 00039 return this->native_priority_; 00040 } 00041 00042 ACE_INLINE 00043 CORBA::ULong 00044 TAO_Thread_Lane::static_threads (void) const 00045 { 00046 return this->static_threads_number_; 00047 } 00048 00049 ACE_INLINE 00050 CORBA::ULong 00051 TAO_Thread_Lane::dynamic_threads (void) const 00052 { 00053 return this->dynamic_threads_number_; 00054 } 00055 00056 ACE_INLINE 00057 TAO_Thread_Lane_Resources & 00058 TAO_Thread_Lane::resources (void) 00059 { 00060 return this->resources_; 00061 } 00062 00063 ACE_INLINE 00064 TAO_RT_ORBInitializer::TAO_RTCORBA_DT_LifeSpan 00065 TAO_Thread_Lane::lifespan (void) const 00066 { 00067 return this->lifespan_; 00068 } 00069 00070 ACE_INLINE 00071 ACE_Time_Value const & 00072 TAO_Thread_Lane::dynamic_thread_time (void) const 00073 { 00074 return this->dynamic_thread_time_; 00075 } 00076 00077 ACE_INLINE 00078 bool 00079 TAO_Thread_Pool::with_lanes (void) const 00080 { 00081 return this->with_lanes_; 00082 } 00083 00084 ACE_INLINE 00085 TAO_Thread_Pool_Manager & 00086 TAO_Thread_Pool::manager (void) const 00087 { 00088 return this->manager_; 00089 } 00090 00091 ACE_INLINE 00092 CORBA::ULong 00093 TAO_Thread_Pool::id (void) const 00094 { 00095 return this->id_; 00096 } 00097 00098 ACE_INLINE 00099 CORBA::ULong 00100 TAO_Thread_Pool::stack_size (void) const 00101 { 00102 return this->stack_size_; 00103 } 00104 00105 ACE_INLINE 00106 CORBA::Boolean 00107 TAO_Thread_Pool::allow_borrowing (void) const 00108 { 00109 return this->allow_borrowing_; 00110 } 00111 00112 ACE_INLINE 00113 CORBA::Boolean 00114 TAO_Thread_Pool::allow_request_buffering (void) const 00115 { 00116 return this->allow_request_buffering_; 00117 } 00118 00119 ACE_INLINE 00120 CORBA::ULong 00121 TAO_Thread_Pool::max_buffered_requests (void) const 00122 { 00123 return this->max_buffered_requests_; 00124 } 00125 00126 ACE_INLINE 00127 CORBA::ULong 00128 TAO_Thread_Pool::max_request_buffer_size (void) const 00129 { 00130 return this->max_request_buffer_size_; 00131 } 00132 00133 ACE_INLINE 00134 TAO_Thread_Lane ** 00135 TAO_Thread_Pool::lanes (void) 00136 { 00137 return this->lanes_; 00138 } 00139 00140 ACE_INLINE 00141 CORBA::ULong 00142 TAO_Thread_Pool::number_of_lanes (void) const 00143 { 00144 return this->number_of_lanes_; 00145 } 00146 00147 TAO_END_VERSIONED_NAMESPACE_DECL