ApplicationStartup implementation.
This variant is designed for minimal overhead and does not record events.
| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| private static final DefaultApplicationStartup. |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public DefaultApplicationStartup. | start(String
the step name name)Implements org. Create a new step and marks its beginning. |
| DEFAULT_STARTUP_STEP | back to summary |
|---|---|
| private static final DefaultApplicationStartup. | |
| DefaultApplicationStartup | back to summary |
|---|---|
| pack-priv DefaultApplicationStartup() | |
| start | back to summary |
|---|---|
| public DefaultApplicationStartup. Implements org. Doc from org. Create a new step and marks its beginning. 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. | |
| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| private final DefaultApplicationStartup. |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | end()
Implements org. Record the state of the step and possibly other metrics like execution time. |
| public long | getId()
Implements org. Return the unique id for this step within the application startup. |
| public String | getName()
Implements org. Return the name of the startup step. |
| public Long | getParentId()
Implements org. Return, if available, the id of the parent step. |
| public StartupStep. | getTags()
Implements org. Return the |
| public StartupStep | tag(String
tag key key, String tag value value)Implements org. Add a |
| public StartupStep |
| TAGS | back to summary |
|---|---|
| private final DefaultApplicationStartup. | |
| DefaultStartupStep | back to summary |
|---|---|
| pack-priv DefaultStartupStep() | |
| end | back to summary |
|---|---|
| public void end() Implements org. Doc from org. Record the state of the step and possibly other metrics like execution time. Once ended, changes on the step state are not allowed.
| |
| getId | back to summary |
|---|---|
| public long getId() Implements org. Doc from org. Return the unique id for this step within the application startup.
| |
| getName | back to summary |
|---|---|
| public String getName() Implements org. Doc from org. Return the name of the startup step. A step name describes the current action or phase. This technical name should be "." namespaced and can be reused to describe other instances of similar steps during application startup.
| |
| getParentId | back to summary |
|---|---|
| public Long getParentId() Implements org. Doc from org. Return, if available, the id of the parent step. The parent step is the step that was started the most recently when the current step was created.
| |
| getTags | back to summary |
|---|---|
| public StartupStep. Implements org. Doc from org. Return the
| |
| tag | back to summary |
|---|---|
| public StartupStep tag(String key, String value) Implements org. Doc from org. Add a | |
| tag | back to summary |
|---|---|
| public StartupStep tag(String key, Supplier<String> value) Implements org. Doc from org. Add a | |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public Iterator |
| DefaultTags | back to summary |
|---|---|
| pack-priv DefaultTags() | |
| iterator | back to summary |
|---|---|
| public Iterator Implements java. Doc from java. Returns an iterator over elements of type
| |