StartupStep class abstract interface

One step of the application's start, measured: created by ApplicationStartup.start, tagged with what it is about, ended with end.

final step = startup.start('spring.beans.instantiate')
  ..tag('beanName', 'catalog');
// ... create the bean ...
step.end();

Spring (Java): org.springframework.core.metrics.StartupStep.

Properties

hashCode → int
The hash code for this object.
no setterinherited
id → int
The step's number, unique for the start.
no setter
name → String
The step's name, dotted (spring.beans.instantiate).
no setter
parentId → int?
The number of the step that was running when this one began; null at the top.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
tags → List<(String, Object?)>
The tags, in the order they were added.
no setter

Methods

end() → void
Ends the step; a second call does nothing.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
tag(String key, Object? value) → StartupStep
Adds a tag (beanName = catalog) and returns this step.
toString() → String
A string representation of this object.
inherited

Operators

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