public final class JavaRuntime extends Object implements RuntimeDialect
Constructor and Description |
---|
JavaRuntime() |
Modifier and Type | Method and Description |
---|---|
String |
getClassName(int depth)
Get a specific fully-qualified class name from current stack trace.
|
String |
getProcessId()
Get the ID of the current process (pid).
|
StackTraceElement |
getStackTraceElement(int depth)
Get a specific stack trace element from current stack trace.
|
public String getProcessId()
RuntimeDialect
getProcessId
in interface RuntimeDialect
public String getClassName(int depth)
RuntimeDialect
getClassName
in interface RuntimeDialect
depth
- Position of stack trace elementpublic StackTraceElement getStackTraceElement(int depth)
RuntimeDialect
getStackTraceElement
in interface RuntimeDialect
depth
- Position of stack trace elementCopyright © 2017. All rights reserved.