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.

Constructors

SamplingPackageRegistry()
Get the singleton SamplingPackageRegistry.
factory

Properties

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
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

Methods

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.
inherited
register(SamplingPackage package) → void
Register a sampling package.
toString() → String
A string representation of this object.
inherited

Operators

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