public class CacheType extends BaseCacheType
Java class for cache-type complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="cache-type">
<complexContent>
<extension base="{http://www.ehcache.org/v3}base-cache-type">
<attribute name="alias" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="uses-template" type="{http://www.w3.org/2001/XMLSchema}IDREF" />
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
alias |
protected java.lang.Object |
usesTemplate |
diskStoreSettings, evictionAdvisor, expiry, heap, heapStoreSettings, keyType, listeners, loaderWriter, resilience, resources, serviceConfiguration, valueType| Constructor and Description |
|---|
CacheType() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAlias()
Gets the value of the alias property.
|
java.lang.Object |
getUsesTemplate()
Gets the value of the usesTemplate property.
|
void |
setAlias(java.lang.String value)
Sets the value of the alias property.
|
void |
setUsesTemplate(java.lang.Object value)
Sets the value of the usesTemplate property.
|
CacheType |
withAlias(java.lang.String value) |
CacheType |
withDiskStoreSettings(DiskStoreSettingsType value) |
CacheType |
withEvictionAdvisor(java.lang.String value) |
CacheType |
withExpiry(ExpiryType value) |
CacheType |
withHeap(Heap value) |
CacheType |
withHeapStoreSettings(SizeofType value) |
CacheType |
withKeyType(CacheEntryType value) |
CacheType |
withListeners(ListenersType value) |
CacheType |
withLoaderWriter(CacheLoaderWriterType value) |
CacheType |
withResilience(java.lang.String value) |
CacheType |
withResources(ResourcesType value) |
CacheType |
withServiceConfiguration(java.util.Collection<org.w3c.dom.Element> values) |
CacheType |
withServiceConfiguration(org.w3c.dom.Element... values) |
CacheType |
withUsesTemplate(java.lang.Object value) |
CacheType |
withValueType(CacheEntryType value) |
getDiskStoreSettings, getEvictionAdvisor, getExpiry, getHeap, getHeapStoreSettings, getKeyType, getListeners, getLoaderWriter, getResilience, getResources, getServiceConfiguration, getValueType, setDiskStoreSettings, setEvictionAdvisor, setExpiry, setHeap, setHeapStoreSettings, setKeyType, setListeners, setLoaderWriter, setResilience, setResources, setValueTypeprotected java.lang.String alias
protected java.lang.Object usesTemplate
public java.lang.String getAlias()
Stringpublic void setAlias(java.lang.String value)
value - allowed object is
Stringpublic java.lang.Object getUsesTemplate()
Objectpublic void setUsesTemplate(java.lang.Object value)
value - allowed object is
Objectpublic CacheType withAlias(java.lang.String value)
public CacheType withUsesTemplate(java.lang.Object value)
public CacheType withKeyType(CacheEntryType value)
withKeyType in class BaseCacheTypepublic CacheType withValueType(CacheEntryType value)
withValueType in class BaseCacheTypepublic CacheType withExpiry(ExpiryType value)
withExpiry in class BaseCacheTypepublic CacheType withEvictionAdvisor(java.lang.String value)
withEvictionAdvisor in class BaseCacheTypepublic CacheType withLoaderWriter(CacheLoaderWriterType value)
withLoaderWriter in class BaseCacheTypepublic CacheType withResilience(java.lang.String value)
withResilience in class BaseCacheTypepublic CacheType withListeners(ListenersType value)
withListeners in class BaseCacheTypepublic CacheType withHeap(Heap value)
withHeap in class BaseCacheTypepublic CacheType withResources(ResourcesType value)
withResources in class BaseCacheTypepublic CacheType withHeapStoreSettings(SizeofType value)
withHeapStoreSettings in class BaseCacheTypepublic CacheType withDiskStoreSettings(DiskStoreSettingsType value)
withDiskStoreSettings in class BaseCacheTypepublic CacheType withServiceConfiguration(org.w3c.dom.Element... values)
withServiceConfiguration in class BaseCacheTypepublic CacheType withServiceConfiguration(java.util.Collection<org.w3c.dom.Element> values)
withServiceConfiguration in class BaseCacheType