public static String details(String method, String poolName, int inUse, int max)
   {
      StringBuilder sb = new StringBuilder(1024);

      sb.append(poolName).append(": ");
      sb.append(method).append(" ");
      sb.append("[");
      sb.append(Integer.toString(inUse));
      sb.append("/");
      sb.append(Integer.toString(max));
      sb.append("]");

      return sb.toString();
   }
public static String details ( String method , String poolName , int inUse , int max ) { StringBuilder sb = new StringBuilder ( 1024 ) ; sb . append ( poolName ) . append ( ": " ) ; sb . append ( method ) . append ( " " ) ; sb . append ( "[" ) ; sb . append ( Integer . toString ( inUse ) ) ; sb . append ( "/" ) ; sb . append ( Integer . toString ( max ) ) ; sb . append ( "]" ) ; return sb . toString ( ) ; }
Get the full details of a managed connection pool state
@param method The method identifier
@param poolName The pool name
@param inUse The in use count
@param max The max
@return The state