AbstractProbe class

An abstract implementation of a Probe to extend from.

Inheritance
Implemented types
Implementers

Constructors

AbstractProbe()

Properties

data Stream<DataPoint>
The stream of DataPoint generated from this probe.
read-only, inherited
enabled bool
Is this probe enabled, i.e. available for collection of data using the resume method.
read-only, override
hashCode int
The hash code for this object. [...]
read-only, inherited
measure Measure
The Measure that configures this probe.
read-only, override
name String
A printer-friendly name for this probe.
read-only, override
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
state ProbeState
The runtime state of this probe.
read-only, override
stateEvents Stream<ProbeState>
The runtime state changes of this probe. [...]
read-only, override
type String
The type of this probe according to String.
read-only, override

Methods

error() → void
hasChanged(Measure measure) → void
Callback when this probe's measure has changed.
override
initialize(Measure measure) → void
Initialize the probe before starting it. [...]
override
mark() → void
Mark the latest sampling
marking() → void
Get the latest mark
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
onInitialize(Measure measure) → void
Callback for initialization of probe. [...]
onPause() Future
Callback for pausing probe
onRestart() Future
Callback for restarting probe
onResume() Future
Callback for resuming probe
onStop() Future
Callback for stopping probe
pause() → void
Pause the probe. The probe is paused until resume or restart is called.
override
restart() → void
Restart the probe. [...]
override
resume() → void
Resume the probe.
override
stop() → void
Stop the probe. Once a probe is stopped, it cannot be started again. If you need to restart a probe, use the restart or pause and resume methods.
override
toString() String
A string representation of this object. [...]
inherited
validNextState(ProbeState nextState) bool
Is ProbeState a valid next state for this probe? [...]
override

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited