Class CollectionStatsType
- java.lang.Object
-
- com.evolveum.midpoint.prism.impl.binding.AbstractMutableContainerable
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.CollectionStatsType
-
- All Implemented Interfaces:
Containerable
,Freezable
,com.evolveum.midpoint.prism.impl.binding.ContainerablePrismBinding
,DebugDumpable
,Serializable
,Cloneable
public class CollectionStatsType extends com.evolveum.midpoint.prism.impl.binding.AbstractMutableContainerable
Stats (statistics) setting and entries. This contains stats entries for collections. Simply speaking, it contains data about number of objects in collection. 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. EXPERIMENTAL. Do not rely on this data structure.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.evolveum.midpoint.prism.impl.binding.AbstractMutableContainerable
com.evolveum.midpoint.prism.impl.binding.AbstractMutableContainerable.Any
-
Nested classes/interfaces inherited from interface com.evolveum.midpoint.prism.impl.binding.ContainerablePrismBinding
com.evolveum.midpoint.prism.impl.binding.ContainerablePrismBinding.ContainerableList<T extends Containerable>, com.evolveum.midpoint.prism.impl.binding.ContainerablePrismBinding.ReferencableList<T extends Referencable>
-
-
Field Summary
Fields Modifier and Type Field Description static QName
COMPLEX_TYPE
static ItemName
F_STAT_ENTRY
static Producer<CollectionStatsType>
FACTORY
-
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
-
Constructor Summary
Constructors Constructor Description CollectionStatsType()
CollectionStatsType(PrismContext context)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IntegerStatType
beginStatEntry()
CollectionStatsType
clone()
<X> X
end()
boolean
equals(Object other)
IntegerStatType
getStatEntry()
CollectionStatsType
id(Long value)
void
setStatEntry(IntegerStatType value)
CollectionStatsType
statEntry(IntegerStatType value)
-
Methods inherited from class com.evolveum.midpoint.prism.impl.binding.AbstractMutableContainerable
asPrismContainerValue, getId, hashCode, setId, setupContainerValue, toString
-
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, freeze, isImmutable
-
Methods inherited from interface com.evolveum.midpoint.prism.impl.binding.ContainerablePrismBinding
prismGetContainerableList, prismGetPropertyValue, prismGetPropertyValues, prismGetReferencable, prismGetReferencableList, prismGetReferenceObjectable, prismGetSingleContainerable, prismSetPropertyValue, prismSetReferencable, prismSetReferenceObjectable, prismSetSingleContainerable
-
Methods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDumpLazily, debugDumpLazily
-
Methods inherited from interface com.evolveum.midpoint.prism.Freezable
checkImmutable, checkMutable
-
-
-
-
Field Detail
-
COMPLEX_TYPE
public static final QName COMPLEX_TYPE
-
F_STAT_ENTRY
public static final ItemName F_STAT_ENTRY
-
FACTORY
public static final Producer<CollectionStatsType> FACTORY
-
-
Constructor Detail
-
CollectionStatsType
public CollectionStatsType()
-
CollectionStatsType
@Deprecated public CollectionStatsType(PrismContext context)
Deprecated.
-
-
Method Detail
-
getStatEntry
public IntegerStatType getStatEntry()
-
setStatEntry
public void setStatEntry(IntegerStatType value)
-
equals
public boolean equals(Object other)
- Overrides:
equals
in classcom.evolveum.midpoint.prism.impl.binding.AbstractMutableContainerable
-
id
public CollectionStatsType id(Long value)
-
statEntry
public CollectionStatsType statEntry(IntegerStatType value)
-
beginStatEntry
public IntegerStatType beginStatEntry()
-
end
public <X> X end()
-
clone
public CollectionStatsType clone()
- Overrides:
clone
in classcom.evolveum.midpoint.prism.impl.binding.AbstractMutableContainerable
-
-