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