public static class ThreadSnapshot.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ThreadSnapshot |
build() |
ThreadSnapshot.Builder |
copy(ThreadSnapshot model) |
ThreadSnapshot.Builder |
stackTrace(List<StackTraceElement> stackTrace)
Stack trace.
|
ThreadSnapshot.Builder |
threadSnapshotDetails(List<SnapshotDetail> threadSnapshotDetails)
Snapshot details.
|
ThreadSnapshot.Builder |
timeStamp(Date timeStamp)
Snapshot time.
|
public ThreadSnapshot.Builder timeStamp(Date timeStamp)
Snapshot time.
timeStamp
- the value to setpublic ThreadSnapshot.Builder threadSnapshotDetails(List<SnapshotDetail> threadSnapshotDetails)
Snapshot details.
threadSnapshotDetails
- the value to setpublic ThreadSnapshot.Builder stackTrace(List<StackTraceElement> stackTrace)
Stack trace.
stackTrace
- the value to setpublic ThreadSnapshot build()
public ThreadSnapshot.Builder copy(ThreadSnapshot model)
Copyright © 2016–2024. All rights reserved.