@Endpoint(id="startup") public class StartupEndpoint extends Object
@Endpoint
to expose the timeline of the
application startup
.Modifier and Type | Class and Description |
---|---|
static class |
StartupEndpoint.StartupResponse
A description of an application startup, primarily intended for serialization to
JSON.
|
Constructor and Description |
---|
StartupEndpoint(BufferingApplicationStartup applicationStartup)
Creates a new
StartupEndpoint that will describe the timeline of buffered
application startup events. |
Modifier and Type | Method and Description |
---|---|
StartupEndpoint.StartupResponse |
startup() |
StartupEndpoint.StartupResponse |
startupSnapshot() |
public StartupEndpoint(BufferingApplicationStartup applicationStartup)
StartupEndpoint
that will describe the timeline of buffered
application startup events.applicationStartup
- the application startup@ReadOperation public StartupEndpoint.StartupResponse startupSnapshot()
@WriteOperation public StartupEndpoint.StartupResponse startup()