Examples of record()


Examples of avrora.util.profiling.Distribution.record()

                "Aggregate size", "Distribution of Set Size");
        while (i.hasNext()) {
            StateCache.State state = (StateCache.State)i.next();
            StateCache.Set stateSet = state.info.stateSet;
            int size = stateSet == null ? 0 : stateSet.size();
            sizeDist.record(size);
        }
        sizeDist.processData();
        sizeDist.textReport();
    }
View Full Code Here

Examples of com.alibaba.druid.util.Histogram.record()

    public void test_histo() throws Exception {
        Histogram histo = Histogram.makeHistogram(4);
       
        Assert.assertEquals(4, histo.getRanges().length);

        histo.record(0);
       
        histo.record(1);
        histo.record(2);
       
        histo.record(11);
View Full Code Here

Examples of com.arjuna.ats.arjuna.coordinator.RecoveryAbstractRecord.record()

            actionInfo = (BasicActionInfo) action;

        if ((record instanceof RecoveryAbstractRecord))
        {
            RecoveryAbstractRecord rrec = (RecoveryAbstractRecord)record;
            if (rrec.record() instanceof XAResourceRecord)
            {
                xaresrec = (XAResourceRecord) rrec.record();
                xares = (XAResource) xaresrec.value();
            }
        }
View Full Code Here

Examples of com.carma.swagger.doclet.Recorder.record()

      String resourcePath = api.getResourcePath();
      if (!Strings.isNullOrEmpty(resourcePath)) {
        String resourceName = resourcePath.replaceFirst("/", "").replaceAll("/", "_").replaceAll("[\\{\\}]", "");
        resources.add(new ResourceListingAPI("/" + resourceName + ".{format}", api.getDescription()));
        File apiFile = new File(outputDirectory, resourceName + ".json");
        recorder.record(apiFile, api);
      }
    }

    // write out json for api
    ResourceListing listing = new ResourceListing(SWAGGER_VERSION, this.options.getApiVersion(), this.options.getDocBasePath(), resources,
View Full Code Here

Examples of com.cloud.utils.Journal.record()

                            DataCenter.class, plan.getDataCenterId(), areAffinityGroupsAssociated(vmProfile));
                }

                if (dest != null) {
                    avoids.addHost(dest.getHost().getId());
                    journal.record("Deployment found ", vmProfile, dest);
                }

                long destHostId = dest.getHost().getId();
                vm.setPodId(dest.getPod().getId());
                Long cluster_id = dest.getCluster().getId();
View Full Code Here

Examples of com.cloud.utils.Journal.record()

                            areAffinityGroupsAssociated(vmProfile));
                }

                if (dest != null) {
                    avoids.addHost(dest.getHost().getId());
                    journal.record("Deployment found ", vmProfile, dest);
                }

                long destHostId = dest.getHost().getId();
                vm.setPodId(dest.getPod().getId());
                Long cluster_id = dest.getCluster().getId();
View Full Code Here

Examples of com.google.dart.engine.utilities.instrumentation.InstrumentationBuilder.record()

  private CacheState checkContentState(CacheState newState) {
    if (contentState == CacheState.ERROR) {
      InstrumentationBuilder builder = Instrumentation.builder("SourceEntryImpl-checkContentState");
      builder.data("message", "contentState changing from " + contentState + " to " + newState);
      //builder.data("source", source.getFullName());
      builder.record(new AnalysisException());
      builder.log();
    }
    return newState;
  }
}
View Full Code Here

Examples of com.hp.hpl.jena.tdb.solver.stats.StatsCollectorNodeId.record()

        {
            Iterator<Tuple<NodeId>> iter = dsg.getTripleTable().getNodeTupleTable().findAll() ;
            for ( ; iter.hasNext(); )
            {
                Tuple<NodeId> t = iter.next() ;
                stats.record(null, t.get(0), t.get(1), t.get(2)) ;
            }
        } else {
            // If the union graph, then we need to scan all quads but with uniqueness.
            boolean unionGraph = Quad.isUnionGraph(gn) ;
            NodeId gnid = null ;
View Full Code Here

Examples of com.hp.hpl.jena.tdb.solver.stats.StatsCollectorNodeId.record()

                ? SolverLib.unionGraph(ntt)
                : ntt.find(gnid, null, null, null) ;
            for ( ; iter.hasNext(); )
            {
                Tuple<NodeId> t = iter.next() ;
                stats.record(t.get(0), t.get(1), t.get(2), t.get(3)) ;
            }
        }
        return stats.results() ;
    }
View Full Code Here

Examples of com.hypnoticocelot.jaxrs.doclet.Recorder.record()

            String resourcePath = api.getResourcePath();
            if (!Strings.isNullOrEmpty(resourcePath)) {
                String resourceName = resourcePath.replaceFirst("/", "").replaceAll("/", "_").replaceAll("[\\{\\}]", "");
                resources.add(new ResourceListingAPI("/" + resourceName + ".{format}", ""));
                File apiFile = new File(outputDirectory, resourceName + ".json");
                recorder.record(apiFile, api);
            }
        }

        //write out json for api
        ResourceListing listing = new ResourceListing(options.getApiVersion(), options.getDocBasePath(), resources);
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.