|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.ehcache.config.xml.model.CacheIntegration
public class CacheIntegration
Java class for cache-integration complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="cache-integration">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="loaderwriter" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="class" type="{http://www.ehcache.org/v3}fqcn-type"/>
<any namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
<element name="writebehind" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="retry" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attribute name="attempts" use="required" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" />
<attribute name="delay" use="required" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" />
</restriction>
</complexContent>
</complexType>
</element>
</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="coalesce" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
<attribute name="ratelimitpersecond" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" default="2147483647" />
<attribute name="minWriteDelay" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" default="0" />
<attribute name="maxWriteDelay" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" default="2147483647" />
<attribute name="batchsize" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" default="1" />
</restriction>
</complexContent>
</complexType>
</element>
<element name="listener" maxOccurs="unbounded" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="class" type="{http://www.ehcache.org/v3}fqcn-type"/>
<element name="eventFiringMode" type="{http://www.ehcache.org/v3}eventFiring-type"/>
<element name="eventOrderingMode" type="{http://www.ehcache.org/v3}eventOrdering-type"/>
<element name="eventsToFireOn" type="{http://www.ehcache.org/v3}event-type" maxOccurs="5"/>
<any namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
</sequence>
</restriction>
</complexContent>
</complexType>
| Nested Class Summary | |
|---|---|
static class |
CacheIntegration.Listener
Java class for anonymous complex type. |
static class |
CacheIntegration.Loaderwriter
Java class for anonymous complex type. |
static class |
CacheIntegration.Writebehind
Java class for anonymous complex type. |
| Field Summary | |
|---|---|
protected java.util.List<CacheIntegration.Listener> |
listener
|
protected CacheIntegration.Loaderwriter |
loaderwriter
|
protected CacheIntegration.Writebehind |
writebehind
|
| Constructor Summary | |
|---|---|
CacheIntegration()
|
|
| Method Summary | |
|---|---|
java.util.List<CacheIntegration.Listener> |
getListener()
Gets the value of the listener property. |
CacheIntegration.Loaderwriter |
getLoaderwriter()
Gets the value of the loaderwriter property. |
CacheIntegration.Writebehind |
getWritebehind()
Gets the value of the writebehind property. |
void |
setLoaderwriter(CacheIntegration.Loaderwriter value)
Sets the value of the loaderwriter property. |
void |
setWritebehind(CacheIntegration.Writebehind value)
Sets the value of the writebehind property. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected CacheIntegration.Loaderwriter loaderwriter
protected CacheIntegration.Writebehind writebehind
protected java.util.List<CacheIntegration.Listener> listener
| Constructor Detail |
|---|
public CacheIntegration()
| Method Detail |
|---|
public CacheIntegration.Loaderwriter getLoaderwriter()
CacheIntegration.Loaderwriterpublic void setLoaderwriter(CacheIntegration.Loaderwriter value)
value - allowed object is
CacheIntegration.Loaderwriterpublic CacheIntegration.Writebehind getWritebehind()
CacheIntegration.Writebehindpublic void setWritebehind(CacheIntegration.Writebehind value)
value - allowed object is
CacheIntegration.Writebehindpublic java.util.List<CacheIntegration.Listener> getListener()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the listener property.
For example, to add a new item, do as follows:
getListener().add(newItem);
Objects of the following type(s) are allowed in the list
CacheIntegration.Listener
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||