public static class CacheLoaderWriterType.WriteBehind
extends java.lang.Object
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<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>
| Modifier and Type | Class and Description |
|---|---|
static class |
CacheLoaderWriterType.WriteBehind.Batching
Java class for anonymous complex type.
|
static class |
CacheLoaderWriterType.WriteBehind.NonBatching
Java class for anonymous complex type.
|
| Modifier and Type | Field and Description |
|---|---|
protected CacheLoaderWriterType.WriteBehind.Batching |
batching |
protected java.math.BigInteger |
concurrency |
protected CacheLoaderWriterType.WriteBehind.NonBatching |
nonBatching |
protected java.math.BigInteger |
size |
protected java.lang.String |
threadPool |
| Constructor and Description |
|---|
WriteBehind() |
| Modifier and Type | Method and Description |
|---|---|
CacheLoaderWriterType.WriteBehind.Batching |
getBatching()
Gets the value of the batching property.
|
java.math.BigInteger |
getConcurrency()
Gets the value of the concurrency property.
|
CacheLoaderWriterType.WriteBehind.NonBatching |
getNonBatching()
Gets the value of the nonBatching property.
|
java.math.BigInteger |
getSize()
Gets the value of the size property.
|
java.lang.String |
getThreadPool()
Gets the value of the threadPool property.
|
void |
setBatching(CacheLoaderWriterType.WriteBehind.Batching value)
Sets the value of the batching property.
|
void |
setConcurrency(java.math.BigInteger value)
Sets the value of the concurrency property.
|
void |
setNonBatching(CacheLoaderWriterType.WriteBehind.NonBatching value)
Sets the value of the nonBatching property.
|
void |
setSize(java.math.BigInteger value)
Sets the value of the size property.
|
void |
setThreadPool(java.lang.String value)
Sets the value of the threadPool property.
|
CacheLoaderWriterType.WriteBehind |
withBatching(CacheLoaderWriterType.WriteBehind.Batching value) |
CacheLoaderWriterType.WriteBehind |
withConcurrency(java.math.BigInteger value) |
CacheLoaderWriterType.WriteBehind |
withNonBatching(CacheLoaderWriterType.WriteBehind.NonBatching value) |
CacheLoaderWriterType.WriteBehind |
withSize(java.math.BigInteger value) |
CacheLoaderWriterType.WriteBehind |
withThreadPool(java.lang.String value) |
protected CacheLoaderWriterType.WriteBehind.Batching batching
protected CacheLoaderWriterType.WriteBehind.NonBatching nonBatching
protected java.math.BigInteger concurrency
protected java.math.BigInteger size
protected java.lang.String threadPool
public CacheLoaderWriterType.WriteBehind.Batching getBatching()
CacheLoaderWriterType.WriteBehind.Batchingpublic void setBatching(CacheLoaderWriterType.WriteBehind.Batching value)
value - allowed object is
CacheLoaderWriterType.WriteBehind.Batchingpublic CacheLoaderWriterType.WriteBehind.NonBatching getNonBatching()
CacheLoaderWriterType.WriteBehind.NonBatchingpublic void setNonBatching(CacheLoaderWriterType.WriteBehind.NonBatching value)
value - allowed object is
CacheLoaderWriterType.WriteBehind.NonBatchingpublic java.math.BigInteger getConcurrency()
BigIntegerpublic void setConcurrency(java.math.BigInteger value)
value - allowed object is
BigIntegerpublic java.math.BigInteger getSize()
BigIntegerpublic void setSize(java.math.BigInteger value)
value - allowed object is
BigIntegerpublic java.lang.String getThreadPool()
Stringpublic void setThreadPool(java.lang.String value)
value - allowed object is
Stringpublic CacheLoaderWriterType.WriteBehind withBatching(CacheLoaderWriterType.WriteBehind.Batching value)
public CacheLoaderWriterType.WriteBehind withNonBatching(CacheLoaderWriterType.WriteBehind.NonBatching value)
public CacheLoaderWriterType.WriteBehind withConcurrency(java.math.BigInteger value)
public CacheLoaderWriterType.WriteBehind withSize(java.math.BigInteger value)
public CacheLoaderWriterType.WriteBehind withThreadPool(java.lang.String value)