SamplingPackageRegistry class

A registry of SamplingPackage packages.

This registry works as a singleton and is accessed using the SamplingPackageRegistry() factory method.

This registry is mainly used to register any sampling packages used in a CAMS app. See the CAMS GitHub repro for an overview of available sampling packages.


Get the singleton SamplingPackageRegistry.


dataTypes List<DataTypeMetaData>
The combined list of all data types in all packages.
no setter
hashCode int
The hash code for this object.
no setterinherited
packages List<SamplingPackage>
A list of registered packages.
no setter
permissions List<Permission>
The list of Permission needed for the entire list of packages (combined list).
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
samplingSchemes → DataTypeSamplingSchemeMap
The combined sampling schemes for all measure types in all packages.
no setter


create(String type) Probe?
Create an instance of a probe based on its data type.
lookup(String type) Set<SamplingPackage>
Lookup the SamplingPackages that support the type of data.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
register(SamplingPackage package) → void
Register a sampling package.
toString() String
A string representation of this object.


operator ==(Object other) bool
The equality operator.