-
Notifications
You must be signed in to change notification settings - Fork 0
/
ThreadInfo.java
33 lines (30 loc) · 899 Bytes
/
ThreadInfo.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
package com.mmt.travel.app.NFR.Latency;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
/**
* Created by mmt6054 on 09/10/18.
*/
public class ThreadInfo {
/** Thread id */
private final int mId;
/** Thread name */
private final String mName;
/** Top level call in this thread */
private final Call mTopLevelCall;
public ThreadInfo(int threadId, @NonNull String name, @Nullable Call topLevelCall) {
mId = threadId;
mName = name;
mTopLevelCall = topLevelCall;
}
public int getId() {
return mId;
}
@NonNull
public String getName() {
return mName;
}
@Nullable
public Call getTopLevelCall() {
return mTopLevelCall;
}
}