public interface ProfileLocation
Typically represents a class method in the form of class file and line of code that started the transaction or invoked the query.
Modifier and Type | Method and Description |
---|---|
void |
add(long executionTime)
Add execution time.
|
static ProfileLocation |
create()
Create and return a new ProfileLocation.
|
static ProfileLocation |
create(int lineNumber,
String label)
Create and return a new ProfileLocation with a given lineNumber and label.
|
static ProfileLocation |
createAt(String location)
Create and return a new ProfileLocation with a given location.
|
String |
obtain()
Obtain the location description.
|
String |
shortDescription()
Return a short version of the location description.
|
static ProfileLocation create()
static ProfileLocation create(int lineNumber, String label)
static ProfileLocation createAt(String location)
String shortDescription()
void add(long executionTime)
Copyright © 2018. All rights reserved.