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 Boolean
append
static QName
COMPLEX_TYPE
static ItemName
F_APPEND
static ItemName
F_INVALIDATION
static ItemName
F_MAX_SIZE
static ItemName
F_OBJECT_TYPE_SETTINGS
static ItemName
F_STATISTICS
static ItemName
F_TIME_TO_LIVE
static ItemName
F_TRACE_MISS
static ItemName
F_TRACE_PASS
protected CacheInvalidationConfigurationType
invalidation
protected Integer
maxSize
protected List<CacheObjectTypeSettingsType>
objectTypeSettings
protected CacheStatisticsReportingConfigurationType
statistics
protected Integer
timeToLive
protected Boolean
traceMiss
protected Boolean
tracePass
-
Constructor Summary
Constructors Constructor Description CacheSettingsType()
Creates a newCacheSettingsType
instance.CacheSettingsType(CacheSettingsType o)
Creates a newCacheSettingsType
instance by deeply copying a givenCacheSettingsType
instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(JaxbVisitor visitor)
CacheSettingsType
append(Boolean value)
CacheInvalidationConfigurationType
beginInvalidation()
CacheObjectTypeSettingsType
beginObjectTypeSettings()
CacheStatisticsReportingConfigurationType
beginStatistics()
CacheSettingsType
clone()
Creates and returns a deep copy of this object.boolean
equals(Object object)
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)
CacheInvalidationConfigurationType
getInvalidation()
Gets the value of the invalidation property.Integer
getMaxSize()
Gets the value of the maxSize property.List<CacheObjectTypeSettingsType>
getObjectTypeSettings()
Gets the value of the objectTypeSettings property.CacheStatisticsReportingConfigurationType
getStatistics()
Gets the value of the statistics property.Integer
getTimeToLive()
Gets the value of the timeToLive property.int
hashCode()
int
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
CacheSettingsType
invalidation(CacheInvalidationConfigurationType value)
Boolean
isAppend()
Gets the value of the append property.Boolean
isTraceMiss()
Gets the value of the traceMiss property.Boolean
isTracePass()
Gets the value of the tracePass property.CacheSettingsType
maxSize(Integer value)
CacheSettingsType
objectTypeSettings(CacheObjectTypeSettingsType value)
void
setAppend(Boolean value)
Sets the value of the append property.void
setInvalidation(CacheInvalidationConfigurationType value)
Sets the value of the invalidation property.void
setMaxSize(Integer value)
Sets the value of the maxSize property.void
setStatistics(CacheStatisticsReportingConfigurationType value)
Sets the value of the statistics property.void
setTimeToLive(Integer value)
Sets the value of the timeToLive property.void
setTraceMiss(Boolean value)
Sets the value of the traceMiss property.void
setTracePass(Boolean value)
Sets the value of the tracePass property.CacheSettingsType
statistics(CacheStatisticsReportingConfigurationType value)
CacheSettingsType
timeToLive(Integer value)
String
toString()
Generates a String representation of the contents of this type.CacheSettingsType
traceMiss(Boolean value)
CacheSettingsType
tracePass(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 newCacheSettingsType
instance.
-
CacheSettingsType
public CacheSettingsType(CacheSettingsType o)
Creates a newCacheSettingsType
instance by deeply copying a givenCacheSettingsType
instance.- Parameters:
o
- The instance to copy.- Throws:
NullPointerException
- ifo
isnull
.
-
-
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
set
method 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:
hashCode
in 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:
equals
in 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:
accept
in interfaceJaxbVisitable
-
clone
public CacheSettingsType clone()
Creates and returns a deep copy of this object.
-
-