org.ehcache.xml.model
Class ConfigType

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

public class ConfigType
extends java.lang.Object

Java class for config-type complex type.

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

 <complexType name="config-type">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="service" type="{http://www.ehcache.org/v3}service-type" maxOccurs="unbounded" minOccurs="0"/>
         <element name="default-serializers" type="{http://www.ehcache.org/v3}serializer-type" minOccurs="0"/>
         <element name="default-copiers" type="{http://www.ehcache.org/v3}copier-type" minOccurs="0"/>
         <element name="persistence" type="{http://www.ehcache.org/v3}persistence-type" minOccurs="0"/>
         <element name="thread-pools" type="{http://www.ehcache.org/v3}thread-pools-type" minOccurs="0"/>
         <element name="event-dispatch" type="{http://www.ehcache.org/v3}thread-pool-reference-type" minOccurs="0"/>
         <element name="write-behind" type="{http://www.ehcache.org/v3}thread-pool-reference-type" minOccurs="0"/>
         <element name="heap-store" type="{http://www.ehcache.org/v3}sizeof-type" minOccurs="0"/>
         <element name="disk-store" type="{http://www.ehcache.org/v3}thread-pool-reference-type" minOccurs="0"/>
         <choice maxOccurs="unbounded" minOccurs="0">
           <element name="cache" type="{http://www.ehcache.org/v3}cache-type"/>
           <element name="cache-template" type="{http://www.ehcache.org/v3}cache-template-type"/>
         </choice>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  java.util.List<BaseCacheType> cacheOrCacheTemplate
           
protected  CopierType defaultCopiers
           
protected  SerializerType defaultSerializers
           
protected  ThreadPoolReferenceType diskStore
           
protected  ThreadPoolReferenceType eventDispatch
           
protected  SizeofType heapStore
           
protected  PersistenceType persistence
           
protected  java.util.List<ServiceType> service
           
protected  ThreadPoolsType threadPools
           
protected  ThreadPoolReferenceType writeBehind
           
 
Constructor Summary
ConfigType()
           
 
Method Summary
 java.util.List<BaseCacheType> getCacheOrCacheTemplate()
          Gets the value of the cacheOrCacheTemplate property.
 CopierType getDefaultCopiers()
          Gets the value of the defaultCopiers property.
 SerializerType getDefaultSerializers()
          Gets the value of the defaultSerializers property.
 ThreadPoolReferenceType getDiskStore()
          Gets the value of the diskStore property.
 ThreadPoolReferenceType getEventDispatch()
          Gets the value of the eventDispatch property.
 SizeofType getHeapStore()
          Gets the value of the heapStore property.
 PersistenceType getPersistence()
          Gets the value of the persistence property.
 java.util.List<ServiceType> getService()
          Gets the value of the service property.
 ThreadPoolsType getThreadPools()
          Gets the value of the threadPools property.
 ThreadPoolReferenceType getWriteBehind()
          Gets the value of the writeBehind property.
 void setDefaultCopiers(CopierType value)
          Sets the value of the defaultCopiers property.
 void setDefaultSerializers(SerializerType value)
          Sets the value of the defaultSerializers property.
 void setDiskStore(ThreadPoolReferenceType value)
          Sets the value of the diskStore property.
 void setEventDispatch(ThreadPoolReferenceType value)
          Sets the value of the eventDispatch property.
 void setHeapStore(SizeofType value)
          Sets the value of the heapStore property.
 void setPersistence(PersistenceType value)
          Sets the value of the persistence property.
 void setThreadPools(ThreadPoolsType value)
          Sets the value of the threadPools property.
 void setWriteBehind(ThreadPoolReferenceType value)
          Sets the value of the writeBehind property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

service

protected java.util.List<ServiceType> service

defaultSerializers

protected SerializerType defaultSerializers

defaultCopiers

protected CopierType defaultCopiers

persistence

protected PersistenceType persistence

threadPools

protected ThreadPoolsType threadPools

eventDispatch

protected ThreadPoolReferenceType eventDispatch

writeBehind

protected ThreadPoolReferenceType writeBehind

heapStore

protected SizeofType heapStore

diskStore

protected ThreadPoolReferenceType diskStore

cacheOrCacheTemplate

protected java.util.List<BaseCacheType> cacheOrCacheTemplate
Constructor Detail

ConfigType

public ConfigType()
Method Detail

getService

public java.util.List<ServiceType> getService()
Gets the value of the service 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 service property.

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

    getService().add(newItem);
 

Objects of the following type(s) are allowed in the list ServiceType


getDefaultSerializers

public SerializerType getDefaultSerializers()
Gets the value of the defaultSerializers property.

Returns:
possible object is SerializerType

setDefaultSerializers

public void setDefaultSerializers(SerializerType value)
Sets the value of the defaultSerializers property.

Parameters:
value - allowed object is SerializerType

getDefaultCopiers

public CopierType getDefaultCopiers()
Gets the value of the defaultCopiers property.

Returns:
possible object is CopierType

setDefaultCopiers

public void setDefaultCopiers(CopierType value)
Sets the value of the defaultCopiers property.

Parameters:
value - allowed object is CopierType

getPersistence

public PersistenceType getPersistence()
Gets the value of the persistence property.

Returns:
possible object is PersistenceType

setPersistence

public void setPersistence(PersistenceType value)
Sets the value of the persistence property.

Parameters:
value - allowed object is PersistenceType

getThreadPools

public ThreadPoolsType getThreadPools()
Gets the value of the threadPools property.

Returns:
possible object is ThreadPoolsType

setThreadPools

public void setThreadPools(ThreadPoolsType value)
Sets the value of the threadPools property.

Parameters:
value - allowed object is ThreadPoolsType

getEventDispatch

public ThreadPoolReferenceType getEventDispatch()
Gets the value of the eventDispatch property.

Returns:
possible object is ThreadPoolReferenceType

setEventDispatch

public void setEventDispatch(ThreadPoolReferenceType value)
Sets the value of the eventDispatch property.

Parameters:
value - allowed object is ThreadPoolReferenceType

getWriteBehind

public ThreadPoolReferenceType getWriteBehind()
Gets the value of the writeBehind property.

Returns:
possible object is ThreadPoolReferenceType

setWriteBehind

public void setWriteBehind(ThreadPoolReferenceType value)
Sets the value of the writeBehind property.

Parameters:
value - allowed object is ThreadPoolReferenceType

getHeapStore

public SizeofType getHeapStore()
Gets the value of the heapStore property.

Returns:
possible object is SizeofType

setHeapStore

public void setHeapStore(SizeofType value)
Sets the value of the heapStore property.

Parameters:
value - allowed object is SizeofType

getDiskStore

public ThreadPoolReferenceType getDiskStore()
Gets the value of the diskStore property.

Returns:
possible object is ThreadPoolReferenceType

setDiskStore

public void setDiskStore(ThreadPoolReferenceType value)
Sets the value of the diskStore property.

Parameters:
value - allowed object is ThreadPoolReferenceType

getCacheOrCacheTemplate

public java.util.List<BaseCacheType> getCacheOrCacheTemplate()
Gets the value of the cacheOrCacheTemplate 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 cacheOrCacheTemplate property.

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

    getCacheOrCacheTemplate().add(newItem);
 

Objects of the following type(s) are allowed in the list CacheType CacheTemplateType