Package org.netbeans.server.snapshots

Examples of org.netbeans.server.snapshots.SlownessChecker


            actual.setReportId(newReport);
            return em.merge(actual);
        }

        private Component recountComponent(EntityManager em) {
            SlownessChecker checker = new SlownessChecker(em, actual.getLatestAction(), actual.getLogfileId());
            return checker.getComponentForSlowness();
        }
View Full Code Here


        data.setSubmitId(submitId);
        insertLogFileInformation();
        Submit submit = null;
        if (slownessTime != null){
            data.setDataType(ExceptionsData.DataType.SLOWNESS_REPORT);
            SlownessChecker checker = new SlownessChecker(thisTask.getTaskEntityManager(), latestAction, slownessType, thisTask.getLogInfo());
            duplicatesReport = checker.checkSlowness();
            submit = insertSlownessData(checker);
        } else if (thrown != null) {
            data.setDataType(ExceptionsData.DataType.EXC_REPORT);
            duplicatesReport = Utils.checkIssue(thisTask.getTaskEntityManager(), thrown);
            submit = insertException();
View Full Code Here

                    }else{
                        Component comp;
                        if (sbm instanceof Exceptions) {
                            comp = match.match(em, ((Exceptions)sbm).getMockThrowable());
                        }else{
                            SlownessChecker checker = new SlownessChecker(em, null, sbm.getLogfileId());
                            comp = checker.getComponentForSlowness();
                        }
                        register(request, comp);
                    }
                    return TransactionResult.NONE;
                }
View Full Code Here

TOP

Related Classes of org.netbeans.server.snapshots.SlownessChecker

Copyright © 2018 www.massapicom. 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.