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.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
Modifier and TypeFieldDescriptionstatic final QName
static final ItemName
static final Producer<CollectionStatsType>
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionclone()
<X> X
end()
boolean
void
setStatEntry
(IntegerStatType value) 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 Details
-
COMPLEX_TYPE
-
F_STAT_ENTRY
-
FACTORY
-
-
Constructor Details
-
CollectionStatsType
public CollectionStatsType() -
CollectionStatsType
Deprecated.
-
-
Method Details
-
getStatEntry
-
setStatEntry
-
equals
- Overrides:
equals
in classcom.evolveum.midpoint.prism.impl.binding.AbstractMutableContainerable
-
id
-
statEntry
-
beginStatEntry
-
end
public <X> X end() -
clone
- Overrides:
clone
in classcom.evolveum.midpoint.prism.impl.binding.AbstractMutableContainerable
-