public abstract class BaseCacheType
extends java.lang.Object
Java class for base-cache-type complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="base-cache-type">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="key-type" type="{http://www.ehcache.org/v3}cache-entry-type" minOccurs="0"/>
<element name="value-type" type="{http://www.ehcache.org/v3}cache-entry-type" minOccurs="0"/>
<element name="expiry" type="{http://www.ehcache.org/v3}expiry-type" minOccurs="0"/>
<element name="eviction-advisor" type="{http://www.ehcache.org/v3}fqcn-type" minOccurs="0"/>
<element name="loader-writer" type="{http://www.ehcache.org/v3}cache-loader-writer-type" minOccurs="0"/>
<element name="resilience" type="{http://www.ehcache.org/v3}fqcn-type" minOccurs="0"/>
<element name="listeners" type="{http://www.ehcache.org/v3}listeners-type" minOccurs="0"/>
<choice minOccurs="0">
<element ref="{http://www.ehcache.org/v3}heap"/>
<element name="resources" type="{http://www.ehcache.org/v3}resources-type"/>
</choice>
<element name="heap-store-settings" type="{http://www.ehcache.org/v3}sizeof-type" minOccurs="0"/>
<element name="disk-store-settings" type="{http://www.ehcache.org/v3}disk-store-settings-type" minOccurs="0"/>
<element ref="{http://www.ehcache.org/v3}service-configuration" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected DiskStoreSettingsType |
diskStoreSettings |
protected java.lang.String |
evictionAdvisor |
protected ExpiryType |
expiry |
protected Heap |
heap |
protected SizeofType |
heapStoreSettings |
protected CacheEntryType |
keyType |
protected ListenersType |
listeners |
protected CacheLoaderWriterType |
loaderWriter |
protected java.lang.String |
resilience |
protected ResourcesType |
resources |
protected java.util.List<org.w3c.dom.Element> |
serviceConfiguration |
protected CacheEntryType |
valueType |
| Constructor and Description |
|---|
BaseCacheType() |
| Modifier and Type | Method and Description |
|---|---|
DiskStoreSettingsType |
getDiskStoreSettings()
Gets the value of the diskStoreSettings property.
|
java.lang.String |
getEvictionAdvisor()
Gets the value of the evictionAdvisor property.
|
ExpiryType |
getExpiry()
Gets the value of the expiry property.
|
Heap |
getHeap()
Shortcut for configuring a heap Cache.
|
SizeofType |
getHeapStoreSettings()
Gets the value of the heapStoreSettings property.
|
CacheEntryType |
getKeyType()
Gets the value of the keyType property.
|
ListenersType |
getListeners()
Gets the value of the listeners property.
|
CacheLoaderWriterType |
getLoaderWriter()
Gets the value of the loaderWriter property.
|
java.lang.String |
getResilience()
Gets the value of the resilience property.
|
ResourcesType |
getResources()
Gets the value of the resources property.
|
java.util.List<org.w3c.dom.Element> |
getServiceConfiguration()
Gets the value of the serviceConfiguration property.
|
CacheEntryType |
getValueType()
Gets the value of the valueType property.
|
void |
setDiskStoreSettings(DiskStoreSettingsType value)
Sets the value of the diskStoreSettings property.
|
void |
setEvictionAdvisor(java.lang.String value)
Sets the value of the evictionAdvisor property.
|
void |
setExpiry(ExpiryType value)
Sets the value of the expiry property.
|
void |
setHeap(Heap value)
Sets the value of the heap property.
|
void |
setHeapStoreSettings(SizeofType value)
Sets the value of the heapStoreSettings property.
|
void |
setKeyType(CacheEntryType value)
Sets the value of the keyType property.
|
void |
setListeners(ListenersType value)
Sets the value of the listeners property.
|
void |
setLoaderWriter(CacheLoaderWriterType value)
Sets the value of the loaderWriter property.
|
void |
setResilience(java.lang.String value)
Sets the value of the resilience property.
|
void |
setResources(ResourcesType value)
Sets the value of the resources property.
|
void |
setValueType(CacheEntryType value)
Sets the value of the valueType property.
|
BaseCacheType |
withDiskStoreSettings(DiskStoreSettingsType value) |
BaseCacheType |
withEvictionAdvisor(java.lang.String value) |
BaseCacheType |
withExpiry(ExpiryType value) |
BaseCacheType |
withHeap(Heap value) |
BaseCacheType |
withHeapStoreSettings(SizeofType value) |
BaseCacheType |
withKeyType(CacheEntryType value) |
BaseCacheType |
withListeners(ListenersType value) |
BaseCacheType |
withLoaderWriter(CacheLoaderWriterType value) |
BaseCacheType |
withResilience(java.lang.String value) |
BaseCacheType |
withResources(ResourcesType value) |
BaseCacheType |
withServiceConfiguration(java.util.Collection<org.w3c.dom.Element> values) |
BaseCacheType |
withServiceConfiguration(org.w3c.dom.Element... values) |
BaseCacheType |
withValueType(CacheEntryType value) |
protected CacheEntryType keyType
protected CacheEntryType valueType
protected ExpiryType expiry
protected java.lang.String evictionAdvisor
protected CacheLoaderWriterType loaderWriter
protected java.lang.String resilience
protected ListenersType listeners
protected Heap heap
protected ResourcesType resources
protected SizeofType heapStoreSettings
protected DiskStoreSettingsType diskStoreSettings
protected java.util.List<org.w3c.dom.Element> serviceConfiguration
public CacheEntryType getKeyType()
CacheEntryTypepublic void setKeyType(CacheEntryType value)
value - allowed object is
CacheEntryTypepublic CacheEntryType getValueType()
CacheEntryTypepublic void setValueType(CacheEntryType value)
value - allowed object is
CacheEntryTypepublic ExpiryType getExpiry()
ExpiryTypepublic void setExpiry(ExpiryType value)
value - allowed object is
ExpiryTypepublic java.lang.String getEvictionAdvisor()
Stringpublic void setEvictionAdvisor(java.lang.String value)
value - allowed object is
Stringpublic CacheLoaderWriterType getLoaderWriter()
CacheLoaderWriterTypepublic void setLoaderWriter(CacheLoaderWriterType value)
value - allowed object is
CacheLoaderWriterTypepublic java.lang.String getResilience()
Stringpublic void setResilience(java.lang.String value)
value - allowed object is
Stringpublic ListenersType getListeners()
ListenersTypepublic void setListeners(ListenersType value)
value - allowed object is
ListenersTypepublic Heap getHeap()
Heappublic void setHeap(Heap value)
value - allowed object is
Heappublic ResourcesType getResources()
ResourcesTypepublic void setResources(ResourcesType value)
value - allowed object is
ResourcesTypepublic SizeofType getHeapStoreSettings()
SizeofTypepublic void setHeapStoreSettings(SizeofType value)
value - allowed object is
SizeofTypepublic DiskStoreSettingsType getDiskStoreSettings()
DiskStoreSettingsTypepublic void setDiskStoreSettings(DiskStoreSettingsType value)
value - allowed object is
DiskStoreSettingsTypepublic java.util.List<org.w3c.dom.Element> getServiceConfiguration()
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 serviceConfiguration property.
For example, to add a new item, do as follows:
getServiceConfiguration().add(newItem);
Objects of the following type(s) are allowed in the list
Element
public BaseCacheType withKeyType(CacheEntryType value)
public BaseCacheType withValueType(CacheEntryType value)
public BaseCacheType withExpiry(ExpiryType value)
public BaseCacheType withEvictionAdvisor(java.lang.String value)
public BaseCacheType withLoaderWriter(CacheLoaderWriterType value)
public BaseCacheType withResilience(java.lang.String value)
public BaseCacheType withListeners(ListenersType value)
public BaseCacheType withHeap(Heap value)
public BaseCacheType withResources(ResourcesType value)
public BaseCacheType withHeapStoreSettings(SizeofType value)
public BaseCacheType withDiskStoreSettings(DiskStoreSettingsType value)
public BaseCacheType withServiceConfiguration(org.w3c.dom.Element... values)
public BaseCacheType withServiceConfiguration(java.util.Collection<org.w3c.dom.Element> values)