public class PersistableMemoryType extends MemoryType
Java class for persistable-memory-type complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="persistable-memory-type">
<simpleContent>
<extension base="<http://www.ehcache.org/v3>memory-type">
<attribute name="persistent" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
</extension>
</simpleContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.Boolean |
persistent |
unit, value| Constructor and Description |
|---|
PersistableMemoryType() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isPersistent()
Gets the value of the persistent property.
|
void |
setPersistent(java.lang.Boolean value)
Sets the value of the persistent property.
|
PersistableMemoryType |
withPersistent(java.lang.Boolean value) |
PersistableMemoryType |
withUnit(MemoryUnit value) |
PersistableMemoryType |
withValue(java.math.BigInteger value) |
getUnit, getValue, setUnit, setValuepublic boolean isPersistent()
Booleanpublic void setPersistent(java.lang.Boolean value)
value - allowed object is
Booleanpublic PersistableMemoryType withPersistent(java.lang.Boolean value)
public PersistableMemoryType withValue(java.math.BigInteger value)
withValue in class MemoryTypepublic PersistableMemoryType withUnit(MemoryUnit value)
withUnit in class MemoryType