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: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: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: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> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
static QName |
COMPLEX_TYPE |
static ItemName |
F_STAT_ENTRY |
Constructor and Description |
---|
CollectionStatsType() |
CollectionStatsType(PrismContext prismContext) |
Modifier and Type | Method and Description |
---|---|
PrismContainerValue |
asPrismContainerValue() |
IntegerStatType |
beginStatEntry() |
CollectionStatsType |
clone() |
<X> X |
end() |
boolean |
equals(Object object) |
IntegerStatType |
getStatEntry() |
int |
hashCode() |
void |
setStatEntry(IntegerStatType value) |
void |
setupContainerValue(PrismContainerValue containerValue)
Setup value to the containerable representation.
|
CollectionStatsType |
statEntry(IntegerStatType value) |
String |
toString() |
public static final QName COMPLEX_TYPE
public static final ItemName F_STAT_ENTRY
public CollectionStatsType()
public CollectionStatsType(PrismContext prismContext)
public PrismContainerValue asPrismContainerValue()
asPrismContainerValue
in interface Containerable
public void setupContainerValue(PrismContainerValue containerValue)
Containerable
setupContainerValue
in interface Containerable
public <X> X end()
public IntegerStatType getStatEntry()
public void setStatEntry(IntegerStatType value)
public CollectionStatsType statEntry(IntegerStatType value)
public IntegerStatType beginStatEntry()
public CollectionStatsType clone()
Copyright © 2021 Evolveum. All rights reserved.