Modifier and Type | Class and Description |
---|---|
static class |
Snapshot.Type
The type of snapshot.
|
Constructor and Description |
---|
Snapshot(int level,
java.lang.String tag,
Snapshot.Type type,
Group group,
ComparableProfiler profiler)
Instantiates a
Snapshot . |
Modifier and Type | Method and Description |
---|---|
Group |
getGroup()
Gets the group.
|
int |
getLevel()
Gets the stacks level.
|
ComparableProfiler |
getProfiler()
Gets the profiler.
|
long |
getSample()
Gets the sample's value.
|
java.lang.String |
getTag()
Gets the tag.
|
Snapshot.Type |
getType()
Gets the type of snapshot.
|
public Snapshot(int level, java.lang.String tag, Snapshot.Type type, Group group, ComparableProfiler profiler)
Snapshot
.level
- the stack's level.tag
- the tag to display.type
- the type of snapshot.group
- the Group
.profiler
- the profiler.public ComparableProfiler getProfiler()
public int getLevel()
public java.lang.String getTag()
public long getSample()
public Snapshot.Type getType()
public Group getGroup()