org.ehcache.xml.model
Class ThreadPoolsType

java.lang.Object
  extended by org.ehcache.xml.model.ThreadPoolsType

public class ThreadPoolsType
extends java.lang.Object

Java class for thread-pools-type complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="thread-pools-type">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="thread-pool" maxOccurs="unbounded">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <attribute name="alias" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
                 <attribute name="default" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
                 <attribute name="min-size" use="required" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" />
                 <attribute name="max-size" use="required" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" />
               </restriction>
             </complexContent>
           </complexType>
         </element>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Nested Class Summary
static class ThreadPoolsType.ThreadPool
          Java class for anonymous complex type.
 
Field Summary
protected  java.util.List<ThreadPoolsType.ThreadPool> threadPool
           
 
Constructor Summary
ThreadPoolsType()
           
 
Method Summary
 java.util.List<ThreadPoolsType.ThreadPool> getThreadPool()
          Gets the value of the threadPool property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

threadPool

protected java.util.List<ThreadPoolsType.ThreadPool> threadPool
Constructor Detail

ThreadPoolsType

public ThreadPoolsType()
Method Detail

getThreadPool

public java.util.List<ThreadPoolsType.ThreadPool> getThreadPool()
Gets the value of the threadPool property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the threadPool property.

For example, to add a new item, do as follows:

    getThreadPool().add(newItem);
 

Objects of the following type(s) are allowed in the list ThreadPoolsType.ThreadPool