Examples of report()


Examples of com.knowgate.hipergate.datamodel.ModelManager.report()

    ModelManager oModMan = new ModelManager();
    oModMan.setConnection((Connection)oConn);
    try {
      oModMan.createCategoriesForUser(sRetVal);
      if (oModMan.report().length()>0) throw new SQLException(oModMan.report(), "EVAL");
      } catch (IOException ioe) {
        throw new SQLException("IOException "+ioe.getMessage());
      } catch (SQLException sql) {
        throw new SQLException("SQLException "+sql.getMessage(), sql.getSQLState(), sql.getErrorCode());
      }
View Full Code Here

Examples of com.knowgate.hipergate.datamodel.ModelManager.report()

    ModelManager oModMan = new ModelManager();
    oModMan.setConnection((Connection)oConn);
    try {
      oModMan.createCategoriesForUser(sRetVal);
      if (oModMan.report().length()>0) throw new SQLException(oModMan.report(), "EVAL");
      } catch (IOException ioe) {
        throw new SQLException("IOException "+ioe.getMessage());
      } catch (SQLException sql) {
        throw new SQLException("SQLException "+sql.getMessage(), sql.getSQLState(), sql.getErrorCode());
      }
View Full Code Here

Examples of com.nr.sort.Heapselect.report()

    System.out.println("Testing Heapselect");
    Heapselect heap = new Heapselect(M);
    Ran myran = new Ran(17);
    // Find top 100 values in 1000 random numbers
    for (i=0;i<N;i++) heap.add(myran.doub());
    for (i=0;i<M;i++) x[i]=heap.report(M-1-i);
    xm=x[0];    // The Mth largest

    Ran myran2 = new Ran(17); // Repeat same sequence
    j=0;
    for (i=0;i<N;i++) {
View Full Code Here

Examples of com.nr.sort.IQagent.report()

    // Percentiles for Ran
    sbeps=3.e-3;
    for (j=0;j<11;j++) {
      y[j]=0.1*j;
      x[j]=iq.report(y[j]);
    }
    localflag = (maxel(vecsub(x,y)) > sbeps);
    globalflag = globalflag || localflag;
    if (localflag) {
      fail("*** IQagent: Percentiles of uniform distribution are suspiciously nonuniform");
View Full Code Here

Examples of com.nr.sort.IQagent.report()

    for (j=0;j<M;j++) {
      for (i=0;i<N;i++) iq2.add((double)(i%100+1));
    }
    for (j=0;j<5;j++) {
      var=0.25*j;
      z[j]=iq2.report(var);
    }
    localflag = (maxel(vecsub(u,z))!= 0.0);
    globalflag = globalflag || localflag;
    if (localflag) {
      fail("*** IQagent: Distribution with perfectly known percentiles failed");
View Full Code Here

Examples of com.sun.sgs.profile.AggregateProfileOperation.report()

        ProfileConsumer cons1 = collector.getConsumer("c1");
        final AggregateProfileOperation op =
                (AggregateProfileOperation)
                    cons1.createOperation(name, testType, ProfileLevel.MIN);
       
        op.report();
        assertEquals(1, op.getCount());
       
        op.report();
        assertEquals(2, op.getCount());
       
View Full Code Here

Examples of com.sun.sgs.profile.ProfileOperation.report()

    /** {@inheritDoc} */
    public byte[] getObject(Transaction txn, long oid, boolean forUpdate) {
  byte[] result = dataStore.getObject(txn, oid, forUpdate);
  ProfileOperation op =
                forUpdate ? stats.getObjectForUpdateOp : stats.getObjectOp;
  op.report();
  stats.readBytesCounter.incrementCount(result.length);
  stats.readObjectsCounter.incrementCount();
  stats.readBytesSample.addSample(result.length);
  return result;
    }
View Full Code Here

Examples of com.volantis.synergetics.reporting.Log4jReportHandler.report()

        metrics.put("B", "C");
        metrics.put(":MESSAGE", "This message");
        metrics.put(":EVENT", Event.STOP.toString());
        metrics.put(":STATUS", Status.SUCCESS);
        metrics.put(":TIMESTAMP", new Date());
        h.report(metrics);
    }
}
View Full Code Here

Examples of com.volantis.synergetics.reporting.ReportHandler.report()

                    // event to be fired. This is so OSGi knows what event
                    // subtype to use
                    localMetrics.put(Class.class, target.getProxiedClass());
                    ReportHandler localHandler = target.getReportHandler();
                    if (null != localHandler) {
                        localHandler.report(localMetrics);
                    } else { // we dispatch to the OSGi Event Listeners

                    }
                    localMetrics.clear();
                    return null;
View Full Code Here

Examples of com.volantis.synergetics.reporting.ReportHandler.report()

                    // subtype to use
                    localMetrics.put(Class.class, target.getProxiedClass());

                    ReportHandler localHandler = target.getReportHandler();
                    if (null != localHandler) {
                        localHandler.report(localMetrics);
                    } else { // we dispatch to the OSGi Event Listeners

                    }
                    localMetrics.clear();
                    return null;
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.