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>
| Modifier and Type | Field and Description |
|---|---|
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 and Description |
|---|
ConfigType() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
ConfigType |
withCacheOrCacheTemplate(BaseCacheType... values) |
ConfigType |
withCacheOrCacheTemplate(java.util.Collection<BaseCacheType> values) |
ConfigType |
withDefaultCopiers(CopierType value) |
ConfigType |
withDefaultSerializers(SerializerType value) |
ConfigType |
withDiskStore(ThreadPoolReferenceType value) |
ConfigType |
withEventDispatch(ThreadPoolReferenceType value) |
ConfigType |
withHeapStore(SizeofType value) |
ConfigType |
withPersistence(PersistenceType value) |
ConfigType |
withService(java.util.Collection<ServiceType> values) |
ConfigType |
withService(ServiceType... values) |
ConfigType |
withThreadPools(ThreadPoolsType value) |
ConfigType |
withWriteBehind(ThreadPoolReferenceType value) |
protected java.util.List<ServiceType> service
protected SerializerType defaultSerializers
protected CopierType defaultCopiers
protected PersistenceType persistence
protected ThreadPoolsType threadPools
protected ThreadPoolReferenceType eventDispatch
protected ThreadPoolReferenceType writeBehind
protected SizeofType heapStore
protected ThreadPoolReferenceType diskStore
protected java.util.List<BaseCacheType> cacheOrCacheTemplate
public java.util.List<ServiceType> getService()
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
public SerializerType getDefaultSerializers()
SerializerTypepublic void setDefaultSerializers(SerializerType value)
value - allowed object is
SerializerTypepublic CopierType getDefaultCopiers()
CopierTypepublic void setDefaultCopiers(CopierType value)
value - allowed object is
CopierTypepublic PersistenceType getPersistence()
PersistenceTypepublic void setPersistence(PersistenceType value)
value - allowed object is
PersistenceTypepublic ThreadPoolsType getThreadPools()
ThreadPoolsTypepublic void setThreadPools(ThreadPoolsType value)
value - allowed object is
ThreadPoolsTypepublic ThreadPoolReferenceType getEventDispatch()
ThreadPoolReferenceTypepublic void setEventDispatch(ThreadPoolReferenceType value)
value - allowed object is
ThreadPoolReferenceTypepublic ThreadPoolReferenceType getWriteBehind()
ThreadPoolReferenceTypepublic void setWriteBehind(ThreadPoolReferenceType value)
value - allowed object is
ThreadPoolReferenceTypepublic SizeofType getHeapStore()
SizeofTypepublic void setHeapStore(SizeofType value)
value - allowed object is
SizeofTypepublic ThreadPoolReferenceType getDiskStore()
ThreadPoolReferenceTypepublic void setDiskStore(ThreadPoolReferenceType value)
value - allowed object is
ThreadPoolReferenceTypepublic java.util.List<BaseCacheType> getCacheOrCacheTemplate()
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
public ConfigType withService(ServiceType... values)
public ConfigType withService(java.util.Collection<ServiceType> values)
public ConfigType withDefaultSerializers(SerializerType value)
public ConfigType withDefaultCopiers(CopierType value)
public ConfigType withPersistence(PersistenceType value)
public ConfigType withThreadPools(ThreadPoolsType value)
public ConfigType withEventDispatch(ThreadPoolReferenceType value)
public ConfigType withWriteBehind(ThreadPoolReferenceType value)
public ConfigType withHeapStore(SizeofType value)
public ConfigType withDiskStore(ThreadPoolReferenceType value)
public ConfigType withCacheOrCacheTemplate(BaseCacheType... values)
public ConfigType withCacheOrCacheTemplate(java.util.Collection<BaseCacheType> values)