public final class ViburUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static String |
formatSql(String sqlQuery,
List<Object[]> sqlQueryParams) |
static String |
getPoolName(ViburConfig config)
Returns the extended pool name formatted as:
poolName@hashCode(currentlyTakenConns/remainingCreatedConns/poolMaxSize/poolState/threadInterruptedStatus)
For example, p1@2db7a79b(1/1/10/w/n). |
static String |
getStackTraceAsString(Pattern logLinePattern,
StackTraceElement[] stackTrace) |
public static String getPoolName(ViburConfig config)
poolName@hashCode(currentlyTakenConns/remainingCreatedConns/poolMaxSize/poolState/threadInterruptedStatus)
For example, p1@2db7a79b(1/1/10/w/n).config - the Vibur configpublic static String getStackTraceAsString(Pattern logLinePattern, StackTraceElement[] stackTrace)
Copyright © 2013-2019 vibur.org. All Rights Reserved.