StartupProgress class final

How far an application's start has come, as SpringApplication reports it to SpringApplication.progressListener: done of total steps, where a step is a bean definition created or a runner called.

The total grows while the start goes on (a bean can register more definitions, the runners are known once the beans exist), so fraction never goes back: it is the highest share seen.

Constructors

StartupProgress(int done, int total, double fraction)
done steps of total.
const

Properties

done → int
The steps finished.
final
fraction → double
The share finished, from 0 to 1; never decreases.
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
total → int
The steps known so far.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

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