public final class CallStack extends Object implements Serializable
Used with a query to identify a CallStackQuery for AutoFetch automatic query tuning.
This is used so that a single query called from different methods can be tuned for each different call stack.
Note the call stack is trimmed to remove the common ebean internal elements.
| Constructor and Description |
|---|
CallStack(StackTraceElement[] callStack) |
| Modifier and Type | Method and Description |
|---|---|
static String |
enc(int i)
Convert the integer to unsigned base 64.
|
boolean |
equals(Object obj) |
StackTraceElement[] |
getCallStack()
Return the call stack.
|
StackTraceElement |
getFirstStackTraceElement()
Return the first element of the call stack.
|
String |
getOriginKey(int queryHash) |
String |
getPathHash()
Return the hash for the stack elements (excluding first stack element).
|
String |
getZeroHash()
Return the hash for the first stack element.
|
int |
hashCode() |
String |
toString() |
public CallStack(StackTraceElement[] callStack)
public StackTraceElement getFirstStackTraceElement()
public StackTraceElement[] getCallStack()
public String getZeroHash()
public String getPathHash()
public String getOriginKey(int queryHash)
public static String enc(int i)
Copyright © 2014. All Rights Reserved.