public interface ApplicationStartup
steps
.
The core container and its infrastructure components can use the ApplicationStartup
to mark steps during the application startup and collect data about the execution context
or their processing time.
Modifier and Type | Field and Description |
---|---|
static ApplicationStartup |
DEFAULT
Default "no op"
ApplicationStartup implementation. |
Modifier and Type | Method and Description |
---|---|
StartupStep |
start(String name)
Create a new step and marks its beginning.
|
static final ApplicationStartup DEFAULT
ApplicationStartup
implementation.
This variant is designed for minimal overhead and does not record data.
StartupStep start(String name)
A step name describes the current action or phase. This technical name should be "." namespaced and can be reused to describe other instances of the same step during application startup.
name
- the step name