Package org.jboss.dashboard.profiler

Examples of org.jboss.dashboard.profiler.CodeBlockTrace.end()


        try {
            if (values == null || values.isEmpty()) return 0;
            double average = super.scalar(values) / values.size();
            ret = round(average, precission);
        } finally {
            trace.end();
        }
        // Adjust to the specified precission.
        return ret;
    }
View Full Code Here


            }
            // Adjust to the specified precision.
            if (min == null) return 0;
            ret = round(min.doubleValue(), precission);
        } finally {
            trace.end();
        }
        return ret;
    }
}
View Full Code Here

                if (n == null) continue;
                sum += n.doubleValue();
            }
            ret = round(sum, precission);
        } finally {
            trace.end();
        }
        // Adjust to the specified precision.
        return ret;
    }
}
View Full Code Here

        CodeBlockTrace trace = new ScalarFunctionTrace(CODE, values).begin();
        try {
            if (values == null || values.isEmpty()) return 0;
            return values.size();
        } finally {
            trace.end();
        }
    }
}
View Full Code Here

            }
            // Adjust to the specified precission.
            if (max == null) return 0;
            ret = round(max.doubleValue(), precission);
        } finally {
            trace.end();
        }
        return ret;
    }
}
View Full Code Here

                if (distincts.contains(o)) continue;
                distincts.add(o);
            }
            return distincts.size();
        } finally {
            trace.end();
        }
    }
}
View Full Code Here

                DataSetComparator comp = new DataSetComparator();
                comp.addSortCriteria(Integer.toString(intervalsSortCriteria), intervalsSortOrder);
                targetDataSet.sort(comp);
            }
        } finally {
            trace.end();
        }
        return targetDataSet;
    }

    public void copyFrom(DataDisplayer sourceDisplayer) {
View Full Code Here

            int range = sourceDataSet.getPropertyColumn(rangeProperty);
            int[] columns = new int[] {pivot, range};
            String[] functionCodes = new String[] {CountFunction.CODE, scalarFunction.getCode()};
            return sourceDataSet.groupBy(domainProperty, columns, functionCodes, intervalsSortCriteria, intervalsSortOrder);
        } finally {
            trace.end();
        }
    }

    public void copyFrom(DataDisplayer sourceDisplayer) {
        try {
View Full Code Here

            }
            if (conn != null) {
                conn.close();
            }
            if (conn != null) {
                trace.end();
            }
        }
    }

    public DataSet filter(DataFilter filter) throws Exception {
View Full Code Here

        try {
            pageContext.include(page);
        } catch (Throwable t) {
            handleError(t);
        } finally {
            trace.end();
        }
        return SKIP_BODY;
    }

    public int doEndTag() throws JspException {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.