org.ehcache.xml.model
Class ThreadPoolsType
java.lang.Object
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>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
threadPool
protected java.util.List<ThreadPoolsType.ThreadPool> threadPool
ThreadPoolsType
public ThreadPoolsType()
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