Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -29,16 +29,19 @@
* as a single {@code String}, since Flight Recorder events do not support complex types.
*
* @author Brian Clozel
* @author Huang Xiao
* @since 5.3
*/
@Category("Spring Application")
@Label("Startup Step")
@Description("Spring Application Startup")
class FlightRecorderStartupEvent extends Event {

public final long eventId;
@Label("EventId")
public final String eventId;

public final long parentId;
@Label("ParentId")
public final String parentId;

@Label("Name")
public final String name;
Expand All @@ -48,8 +51,8 @@ class FlightRecorderStartupEvent extends Event {

public FlightRecorderStartupEvent(long eventId, String name, long parentId) {
this.name = name;
this.eventId = eventId;
this.parentId = parentId;
this.eventId = String.valueOf(eventId);
this.parentId = String.valueOf(parentId);
}

public void setTags(String tags) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,12 @@ public String getName() {

@Override
public long getId() {
return this.event.eventId;
return Long.parseLong(this.event.eventId);
}

@Override
public Long getParentId() {
return this.event.parentId;
return Long.parseLong(this.event.parentId);
}

@Override
Expand Down