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 virtual 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:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.evolveum.midpoint.prism.impl.binding.AbstractMutableContainerable
com.evolveum.midpoint.prism.impl.binding.AbstractMutableContainerable.AnyNested 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
FieldsModifier and TypeFieldDescriptionstatic final QNamestatic final ItemNamestatic final Producer<CollectionStatsType>Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()<X> Xend()booleanvoidsetStatEntry(IntegerStatType value) statEntry(IntegerStatType value) Methods inherited from class com.evolveum.midpoint.prism.impl.binding.AbstractMutableContainerable
asPrismContainerValue, getId, hashCode, setId, setupContainerValue, toStringMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.evolveum.midpoint.prism.Containerable
cloneWithoutId, debugDump, freeze, isImmutableMethods inherited from interface com.evolveum.midpoint.prism.impl.binding.ContainerablePrismBinding
prismGetContainerableList, prismGetPropertyValue, prismGetPropertyValues, prismGetReferencable, prismGetReferencableList, prismGetReferenceObjectable, prismGetSingleContainerable, prismSetPropertyValue, prismSetReferencable, prismSetReferenceObjectable, prismSetSingleContainerableMethods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDumpLazily, debugDumpLazilyMethods inherited from interface com.evolveum.midpoint.prism.Freezable
checkImmutable, checkMutable
-
Field Details
-
COMPLEX_TYPE
-
F_STAT_ENTRY
-
FACTORY
-
-
Constructor Details
-
CollectionStatsType
public CollectionStatsType() -
CollectionStatsType
Deprecated.
-
-
Method Details
-
getStatEntry
-
setStatEntry
-
equals
- Overrides:
equalsin classcom.evolveum.midpoint.prism.impl.binding.AbstractMutableContainerable
-
id
-
statEntry
-
beginStatEntry
-
end
public <X> X end() -
clone
- Overrides:
clonein classcom.evolveum.midpoint.prism.impl.binding.AbstractMutableContainerable
-