Class CacheSettingsType
- java.lang.Object
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.CacheSettingsType
-
- All Implemented Interfaces:
JaxbVisitable,Serializable,Cloneable,org.jvnet.jaxb2_commons.lang.Equals,org.jvnet.jaxb2_commons.lang.HashCode
public class CacheSettingsType extends Object implements Serializable, Cloneable, JaxbVisitable, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode
Settings for a given cache. Not all items are applicable for each cache.Java class for CacheSettingsType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CacheSettingsType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="append" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> <element name="maxSize" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/> <element name="timeToLive" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/> <element name="traceMiss" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> <element name="tracePass" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> <element name="statistics" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}CacheStatisticsReportingConfigurationType" minOccurs="0"/> <element name="invalidation" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}CacheInvalidationConfigurationType" minOccurs="0"/> <element name="objectTypeSettings" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}CacheObjectTypeSettingsType" maxOccurs="unbounded" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected Booleanappendstatic QNameCOMPLEX_TYPEstatic ItemNameF_APPENDstatic ItemNameF_INVALIDATIONstatic ItemNameF_MAX_SIZEstatic ItemNameF_OBJECT_TYPE_SETTINGSstatic ItemNameF_STATISTICSstatic ItemNameF_TIME_TO_LIVEstatic ItemNameF_TRACE_MISSstatic ItemNameF_TRACE_PASSprotected CacheInvalidationConfigurationTypeinvalidationprotected IntegermaxSizeprotected List<CacheObjectTypeSettingsType>objectTypeSettingsprotected CacheStatisticsReportingConfigurationTypestatisticsprotected IntegertimeToLiveprotected BooleantraceMissprotected BooleantracePass
-
Constructor Summary
Constructors Constructor Description CacheSettingsType()Creates a newCacheSettingsTypeinstance.CacheSettingsType(CacheSettingsType o)Creates a newCacheSettingsTypeinstance by deeply copying a givenCacheSettingsTypeinstance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(JaxbVisitor visitor)CacheSettingsTypeappend(Boolean value)CacheInvalidationConfigurationTypebeginInvalidation()CacheObjectTypeSettingsTypebeginObjectTypeSettings()CacheStatisticsReportingConfigurationTypebeginStatistics()CacheSettingsTypeclone()Creates and returns a deep copy of this object.booleanequals(Object object)booleanequals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)CacheInvalidationConfigurationTypegetInvalidation()Gets the value of the invalidation property.IntegergetMaxSize()Gets the value of the maxSize property.List<CacheObjectTypeSettingsType>getObjectTypeSettings()Gets the value of the objectTypeSettings property.CacheStatisticsReportingConfigurationTypegetStatistics()Gets the value of the statistics property.IntegergetTimeToLive()Gets the value of the timeToLive property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)CacheSettingsTypeinvalidation(CacheInvalidationConfigurationType value)BooleanisAppend()Gets the value of the append property.BooleanisTraceMiss()Gets the value of the traceMiss property.BooleanisTracePass()Gets the value of the tracePass property.CacheSettingsTypemaxSize(Integer value)CacheSettingsTypeobjectTypeSettings(CacheObjectTypeSettingsType value)voidsetAppend(Boolean value)Sets the value of the append property.voidsetInvalidation(CacheInvalidationConfigurationType value)Sets the value of the invalidation property.voidsetMaxSize(Integer value)Sets the value of the maxSize property.voidsetStatistics(CacheStatisticsReportingConfigurationType value)Sets the value of the statistics property.voidsetTimeToLive(Integer value)Sets the value of the timeToLive property.voidsetTraceMiss(Boolean value)Sets the value of the traceMiss property.voidsetTracePass(Boolean value)Sets the value of the tracePass property.CacheSettingsTypestatistics(CacheStatisticsReportingConfigurationType value)CacheSettingsTypetimeToLive(Integer value)StringtoString()Generates a String representation of the contents of this type.CacheSettingsTypetraceMiss(Boolean value)CacheSettingsTypetracePass(Boolean value)
-
-
-
Field Detail
-
append
protected Boolean append
-
maxSize
protected Integer maxSize
-
timeToLive
protected Integer timeToLive
-
traceMiss
protected Boolean traceMiss
-
tracePass
protected Boolean tracePass
-
statistics
protected CacheStatisticsReportingConfigurationType statistics
-
invalidation
protected CacheInvalidationConfigurationType invalidation
-
objectTypeSettings
protected List<CacheObjectTypeSettingsType> objectTypeSettings
-
COMPLEX_TYPE
public static final QName COMPLEX_TYPE
-
F_APPEND
public static final ItemName F_APPEND
-
F_MAX_SIZE
public static final ItemName F_MAX_SIZE
-
F_TIME_TO_LIVE
public static final ItemName F_TIME_TO_LIVE
-
F_TRACE_MISS
public static final ItemName F_TRACE_MISS
-
F_TRACE_PASS
public static final ItemName F_TRACE_PASS
-
F_STATISTICS
public static final ItemName F_STATISTICS
-
F_INVALIDATION
public static final ItemName F_INVALIDATION
-
F_OBJECT_TYPE_SETTINGS
public static final ItemName F_OBJECT_TYPE_SETTINGS
-
-
Constructor Detail
-
CacheSettingsType
public CacheSettingsType()
Creates a newCacheSettingsTypeinstance.
-
CacheSettingsType
public CacheSettingsType(CacheSettingsType o)
Creates a newCacheSettingsTypeinstance by deeply copying a givenCacheSettingsTypeinstance.- Parameters:
o- The instance to copy.- Throws:
NullPointerException- ifoisnull.
-
-
Method Detail
-
isAppend
public Boolean isAppend()
Gets the value of the append property.- Returns:
- possible object is
Boolean
-
setAppend
public void setAppend(Boolean value)
Sets the value of the append property.- Parameters:
value- allowed object isBoolean
-
getMaxSize
public Integer getMaxSize()
Gets the value of the maxSize property.- Returns:
- possible object is
Integer
-
setMaxSize
public void setMaxSize(Integer value)
Sets the value of the maxSize property.- Parameters:
value- allowed object isInteger
-
getTimeToLive
public Integer getTimeToLive()
Gets the value of the timeToLive property.- Returns:
- possible object is
Integer
-
setTimeToLive
public void setTimeToLive(Integer value)
Sets the value of the timeToLive property.- Parameters:
value- allowed object isInteger
-
isTraceMiss
public Boolean isTraceMiss()
Gets the value of the traceMiss property.- Returns:
- possible object is
Boolean
-
setTraceMiss
public void setTraceMiss(Boolean value)
Sets the value of the traceMiss property.- Parameters:
value- allowed object isBoolean
-
isTracePass
public Boolean isTracePass()
Gets the value of the tracePass property.- Returns:
- possible object is
Boolean
-
setTracePass
public void setTracePass(Boolean value)
Sets the value of the tracePass property.- Parameters:
value- allowed object isBoolean
-
getStatistics
public CacheStatisticsReportingConfigurationType getStatistics()
Gets the value of the statistics property.- Returns:
- possible object is
CacheStatisticsReportingConfigurationType
-
setStatistics
public void setStatistics(CacheStatisticsReportingConfigurationType value)
Sets the value of the statistics property.- Parameters:
value- allowed object isCacheStatisticsReportingConfigurationType
-
getInvalidation
public CacheInvalidationConfigurationType getInvalidation()
Gets the value of the invalidation property.- Returns:
- possible object is
CacheInvalidationConfigurationType
-
setInvalidation
public void setInvalidation(CacheInvalidationConfigurationType value)
Sets the value of the invalidation property.- Parameters:
value- allowed object isCacheInvalidationConfigurationType
-
getObjectTypeSettings
public List<CacheObjectTypeSettingsType> getObjectTypeSettings()
Gets the value of the objectTypeSettings property.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
setmethod for the objectTypeSettings property.For example, to add a new item, do as follows:
getObjectTypeSettings().add(newItem);Objects of the following type(s) are allowed in the list
CacheObjectTypeSettingsType
-
toString
public String toString()
Generates a String representation of the contents of this type. This is an extension method, produced by the 'ts' xjc plugin
-
hashCode
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)- Specified by:
hashCodein interfaceorg.jvnet.jaxb2_commons.lang.HashCode
-
equals
public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)- Specified by:
equalsin interfaceorg.jvnet.jaxb2_commons.lang.Equals
-
append
public CacheSettingsType append(Boolean value)
-
maxSize
public CacheSettingsType maxSize(Integer value)
-
timeToLive
public CacheSettingsType timeToLive(Integer value)
-
traceMiss
public CacheSettingsType traceMiss(Boolean value)
-
tracePass
public CacheSettingsType tracePass(Boolean value)
-
statistics
public CacheSettingsType statistics(CacheStatisticsReportingConfigurationType value)
-
beginStatistics
public CacheStatisticsReportingConfigurationType beginStatistics()
-
invalidation
public CacheSettingsType invalidation(CacheInvalidationConfigurationType value)
-
beginInvalidation
public CacheInvalidationConfigurationType beginInvalidation()
-
objectTypeSettings
public CacheSettingsType objectTypeSettings(CacheObjectTypeSettingsType value)
-
beginObjectTypeSettings
public CacheObjectTypeSettingsType beginObjectTypeSettings()
-
accept
public void accept(JaxbVisitor visitor)
- Specified by:
acceptin interfaceJaxbVisitable
-
clone
public CacheSettingsType clone()
Creates and returns a deep copy of this object.
-
-