public class CacheLoaderWriterType
extends java.lang.Object
Java class for cache-loader-writer-type complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="cache-loader-writer-type">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="class" type="{http://www.ehcache.org/v3}fqcn-type"/>
<element name="write-behind" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<choice>
<element name="batching">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<all>
<element name="max-write-delay" type="{http://www.ehcache.org/v3}time-type"/>
</all>
<attribute name="batch-size" use="required" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" />
<attribute name="coalesce" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
</restriction>
</complexContent>
</complexType>
</element>
<element name="non-batching">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
</restriction>
</complexContent>
</complexType>
</element>
</choice>
</sequence>
<attribute name="concurrency" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" default="1" />
<attribute name="size" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" default="2147483647" />
<attribute name="thread-pool" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
</element>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Class and Description |
|---|---|
static class |
CacheLoaderWriterType.WriteBehind
Java class for anonymous complex type.
|
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
clazz |
protected CacheLoaderWriterType.WriteBehind |
writeBehind |
| Constructor and Description |
|---|
CacheLoaderWriterType() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getClazz()
Gets the value of the clazz property.
|
CacheLoaderWriterType.WriteBehind |
getWriteBehind()
Gets the value of the writeBehind property.
|
void |
setClazz(java.lang.String value)
Sets the value of the clazz property.
|
void |
setWriteBehind(CacheLoaderWriterType.WriteBehind value)
Sets the value of the writeBehind property.
|
CacheLoaderWriterType |
withClazz(java.lang.String value) |
CacheLoaderWriterType |
withWriteBehind(CacheLoaderWriterType.WriteBehind value) |
protected java.lang.String clazz
protected CacheLoaderWriterType.WriteBehind writeBehind
public java.lang.String getClazz()
Stringpublic void setClazz(java.lang.String value)
value - allowed object is
Stringpublic CacheLoaderWriterType.WriteBehind getWriteBehind()
CacheLoaderWriterType.WriteBehindpublic void setWriteBehind(CacheLoaderWriterType.WriteBehind value)
value - allowed object is
CacheLoaderWriterType.WriteBehindpublic CacheLoaderWriterType withClazz(java.lang.String value)
public CacheLoaderWriterType withWriteBehind(CacheLoaderWriterType.WriteBehind value)