|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ehcache.xml.model.ConfigType
public class ConfigType
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 |
---|
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
Constructor Detail |
---|
public ConfigType()
Method Detail |
---|
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()
SerializerType
public void setDefaultSerializers(SerializerType value)
value
- allowed object is
SerializerType
public CopierType getDefaultCopiers()
CopierType
public void setDefaultCopiers(CopierType value)
value
- allowed object is
CopierType
public PersistenceType getPersistence()
PersistenceType
public void setPersistence(PersistenceType value)
value
- allowed object is
PersistenceType
public ThreadPoolsType getThreadPools()
ThreadPoolsType
public void setThreadPools(ThreadPoolsType value)
value
- allowed object is
ThreadPoolsType
public ThreadPoolReferenceType getEventDispatch()
ThreadPoolReferenceType
public void setEventDispatch(ThreadPoolReferenceType value)
value
- allowed object is
ThreadPoolReferenceType
public ThreadPoolReferenceType getWriteBehind()
ThreadPoolReferenceType
public void setWriteBehind(ThreadPoolReferenceType value)
value
- allowed object is
ThreadPoolReferenceType
public SizeofType getHeapStore()
SizeofType
public void setHeapStore(SizeofType value)
value
- allowed object is
SizeofType
public ThreadPoolReferenceType getDiskStore()
ThreadPoolReferenceType
public void setDiskStore(ThreadPoolReferenceType value)
value
- allowed object is
ThreadPoolReferenceType
public 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
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |