|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.ehcache.config.xml.model.BaseCacheType
public abstract class BaseCacheType
Java class for baseCache-type complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="baseCache-type">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="key-type" type="{http://www.ehcache.org/v3}cache-entry-type" minOccurs="0"/>
<element name="value-type" type="{http://www.ehcache.org/v3}cache-entry-type" minOccurs="0"/>
<element name="expiry" type="{http://www.ehcache.org/v3}expiry-type" minOccurs="0"/>
<element name="eviction-veto" type="{http://www.ehcache.org/v3}fqcn-type" minOccurs="0"/>
<element name="eviction-prioritizer" type="{http://www.ehcache.org/v3}fqcn-type" minOccurs="0"/>
<element name="integration" type="{http://www.ehcache.org/v3}cache-integration" minOccurs="0"/>
<choice minOccurs="0">
<element name="heap" type="{http://www.ehcache.org/v3}resource-type"/>
<element name="resources" type="{http://www.ehcache.org/v3}resources-type"/>
</choice>
<any namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Field Summary | |
|---|---|
protected java.util.List<java.lang.Object> |
any
|
protected java.lang.String |
evictionPrioritizer
|
protected java.lang.String |
evictionVeto
|
protected ExpiryType |
expiry
|
protected ResourceType |
heap
|
protected CacheIntegration |
integration
|
protected CacheEntryType |
keyType
|
protected ResourcesType |
resources
|
protected CacheEntryType |
valueType
|
| Constructor Summary | |
|---|---|
BaseCacheType()
|
|
| Method Summary | |
|---|---|
java.util.List<java.lang.Object> |
getAny()
Gets the value of the any property. |
java.lang.String |
getEvictionPrioritizer()
Gets the value of the evictionPrioritizer property. |
java.lang.String |
getEvictionVeto()
Gets the value of the evictionVeto property. |
ExpiryType |
getExpiry()
Gets the value of the expiry property. |
ResourceType |
getHeap()
Gets the value of the heap property. |
CacheIntegration |
getIntegration()
Gets the value of the integration property. |
CacheEntryType |
getKeyType()
Gets the value of the keyType property. |
ResourcesType |
getResources()
Gets the value of the resources property. |
CacheEntryType |
getValueType()
Gets the value of the valueType property. |
void |
setEvictionPrioritizer(java.lang.String value)
Sets the value of the evictionPrioritizer property. |
void |
setEvictionVeto(java.lang.String value)
Sets the value of the evictionVeto property. |
void |
setExpiry(ExpiryType value)
Sets the value of the expiry property. |
void |
setHeap(ResourceType value)
Sets the value of the heap property. |
void |
setIntegration(CacheIntegration value)
Sets the value of the integration property. |
void |
setKeyType(CacheEntryType value)
Sets the value of the keyType property. |
void |
setResources(ResourcesType value)
Sets the value of the resources property. |
void |
setValueType(CacheEntryType value)
Sets the value of the valueType property. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected CacheEntryType keyType
protected CacheEntryType valueType
protected ExpiryType expiry
protected java.lang.String evictionVeto
protected java.lang.String evictionPrioritizer
protected CacheIntegration integration
protected ResourceType heap
protected ResourcesType resources
protected java.util.List<java.lang.Object> any
| Constructor Detail |
|---|
public BaseCacheType()
| Method Detail |
|---|
public CacheEntryType getKeyType()
CacheEntryTypepublic void setKeyType(CacheEntryType value)
value - allowed object is
CacheEntryTypepublic CacheEntryType getValueType()
CacheEntryTypepublic void setValueType(CacheEntryType value)
value - allowed object is
CacheEntryTypepublic ExpiryType getExpiry()
ExpiryTypepublic void setExpiry(ExpiryType value)
value - allowed object is
ExpiryTypepublic java.lang.String getEvictionVeto()
Stringpublic void setEvictionVeto(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getEvictionPrioritizer()
Stringpublic void setEvictionPrioritizer(java.lang.String value)
value - allowed object is
Stringpublic CacheIntegration getIntegration()
CacheIntegrationpublic void setIntegration(CacheIntegration value)
value - allowed object is
CacheIntegrationpublic ResourceType getHeap()
ResourceTypepublic void setHeap(ResourceType value)
value - allowed object is
ResourceTypepublic ResourcesType getResources()
ResourcesTypepublic void setResources(ResourcesType value)
value - allowed object is
ResourcesTypepublic java.util.List<java.lang.Object> getAny()
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 any property.
For example, to add a new item, do as follows:
getAny().add(newItem);
Objects of the following type(s) are allowed in the list
Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||