Name

service

Thread Pool Service — Threading and Scheduling Services for XMS Server

<service/>

Name:service
Required by Parent Tag:No
Multiple Tag Instances supported:Yes

Table 119. Attributes for service tag (for xms.thread.XMSThreadPoolService)

NameFriendly NameDescriptionTypeDefault ValueRequired
classClassThe class name the service manager loads. To load: Thread Pool Service use: xms.thread.XMSThreadPoolServiceClass Name A fully qualified class name for a class that is part of the java classpath.xms.thread.XMSThreadPoolServiceYes
corethreadsCore Pool SizeThe number of threads to keep in the pool even if they are idle, default is 3Bounded Integer Takes an Integer Between 1 and 21474836473No
maxthreadsMax Pool SizeThe maximum number of threads the pool can grow toBounded Integer Takes an Integer Between 1 and 2147483647100No

Service Class Dependencies

This tag depends on the following services (or a service that extends or implements these classes)

Example 79. Example configuration for Thread Pool Service

Required attributes are marked with a bold typeface

<service class="xms.thread.XMSThreadPoolService"
  corethreads="3"
  maxthreads="100" />