Class CollectionStatsType
- java.lang.Object
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.CollectionStatsType
-
- All Implemented Interfaces:
Containerable,DebugDumpable,Serializable,Cloneable
public class CollectionStatsType extends Object implements Serializable, Cloneable, Containerable
<?xml version="1.0" encoding="UTF-8"?><p xmlns:a="http://prism.evolveum.com/xml/ns/public/annotation-3" xmlns:c="http://midpoint.evolveum.com/xml/ns/public/common/common-3" xmlns:icfs="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/resource-schema-3" xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" xmlns:q="http://prism.evolveum.com/xml/ns/public/query-3" xmlns:s="http://midpoint.evolveum.com/xml/ns/public/model/scripting-3" xmlns:t="http://prism.evolveum.com/xml/ns/public/types-3" xmlns:tns="http://midpoint.evolveum.com/xml/ns/public/common/common-3" xmlns:xjc="http://java.sun.com/xml/ns/jaxb/xjc" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> Stats (statistics) setting and entries. This contains stats entries for collections. Simply speaking, it contains data about number of objects in collection. </p><?xml version="1.0" encoding="UTF-8"?><p xmlns:a="http://prism.evolveum.com/xml/ns/public/annotation-3" xmlns:c="http://midpoint.evolveum.com/xml/ns/public/common/common-3" xmlns:icfs="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/resource-schema-3" xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" xmlns:q="http://prism.evolveum.com/xml/ns/public/query-3" xmlns:s="http://midpoint.evolveum.com/xml/ns/public/model/scripting-3" xmlns:t="http://prism.evolveum.com/xml/ns/public/types-3" xmlns:tns="http://midpoint.evolveum.com/xml/ns/public/common/common-3" xmlns:xjc="http://java.sun.com/xml/ns/jaxb/xjc" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> While counting collections is usually quite easy, we do not want to do that every millisecond. Therefore we count the collection and keep the data in this structure for a while. The data may not necessarily be persistent. This may be purely vitual data that never get stored in the repository. Ot it may be cached data. Or some combination. We also may want to store historical data about the collection for informational purposes. </p><?xml version="1.0" encoding="UTF-8"?><p xmlns:a="http://prism.evolveum.com/xml/ns/public/annotation-3" xmlns:c="http://midpoint.evolveum.com/xml/ns/public/common/common-3" xmlns:icfs="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/resource-schema-3" xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" xmlns:q="http://prism.evolveum.com/xml/ns/public/query-3" xmlns:s="http://midpoint.evolveum.com/xml/ns/public/model/scripting-3" xmlns:t="http://prism.evolveum.com/xml/ns/public/types-3" xmlns:tns="http://midpoint.evolveum.com/xml/ns/public/common/common-3" xmlns:xjc="http://java.sun.com/xml/ns/jaxb/xjc" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> EXPERIMENTAL. Do not rely on this data structure. </p>Java class for CollectionStatsType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CollectionStatsType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="statEntry" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}IntegerStatType" minOccurs="0"/> </sequence> <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}long" /> </restriction> </complexContent> </complexType>- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static QNameCOMPLEX_TYPEstatic ItemNameF_STAT_ENTRY-
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
-
Constructor Summary
Constructors Constructor Description CollectionStatsType()CollectionStatsType(PrismContext prismContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PrismContainerValueasPrismContainerValue()IntegerStatTypebeginStatEntry()CollectionStatsTypeclone()<X> Xend()booleanequals(Object object)LonggetId()IntegerStatTypegetStatEntry()inthashCode()CollectionStatsTypeid(Long value)voidsetId(Long value)voidsetStatEntry(IntegerStatType value)voidsetupContainerValue(PrismContainerValue containerValue)Setup value to the containerable representation.CollectionStatsTypestatEntry(IntegerStatType value)StringtoString()-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.evolveum.midpoint.prism.Containerable
cloneWithoutId, debugDump
-
Methods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDumpLazily, debugDumpLazily
-
-
-
-
Constructor Detail
-
CollectionStatsType
public CollectionStatsType()
-
CollectionStatsType
public CollectionStatsType(PrismContext prismContext)
-
-
Method Detail
-
asPrismContainerValue
public PrismContainerValue asPrismContainerValue()
- Specified by:
asPrismContainerValuein interfaceContainerable
-
setupContainerValue
public void setupContainerValue(PrismContainerValue containerValue)
Description copied from interface:ContainerableSetup value to the containerable representation. This is used to after (empty) containerable is created to initialize it with a correct prism container value. Note: This method DOES NOT change the container value parent.- Specified by:
setupContainerValuein interfaceContainerable
-
end
public <X> X end()
-
getStatEntry
public IntegerStatType getStatEntry()
-
setStatEntry
public void setStatEntry(IntegerStatType value)
-
getId
public Long getId()
-
setId
public void setId(Long value)
-
statEntry
public CollectionStatsType statEntry(IntegerStatType value)
-
beginStatEntry
public IntegerStatType beginStatEntry()
-
id
public CollectionStatsType id(Long value)
-
clone
public CollectionStatsType clone()
-
-