Examples of Tracer


Examples of agent.Tracer

        Painter agent = new Painter(worlds.get(idWorld), dnaParams, cell, idAgent, progenitor);
        decorateAgent(agent);
    }

    private void generateTracer(short idWorld, Cell cell, DNAparameters dnaParams, short idAgent, short progenitor) {
        Tracer agent = new Tracer(worlds.get(idWorld), dnaParams, cell, idAgent, progenitor);
        decorateAgent(agent);
    }
View Full Code Here

Examples of ccw.util.Tracer

      @Override
      public void bundleChanged(BundleEvent evt) {
        if (evt.getBundle() == CCWPlugin.this.getBundle()
          &&  evt.getType() == BundleEvent.STARTED) {
         
          tracer = new Tracer(evt.getBundle().getBundleContext(), TraceOptions.getTraceOptions());
         
          // We immediately give control back to the OSGi framework application
          // by starting the code in a new thread
          new Thread(new Runnable() {
            @Override public void run() {
View Full Code Here

Examples of com.netflix.zuul.monitoring.Tracer

     */
    public ZuulFilterResult runFilter() {
        ZuulFilterResult zr = new ZuulFilterResult();
        if (!filterDisabled.get()) {
            if (shouldFilter()) {
                Tracer t = TracerFactory.instance().startMicroTracer("ZUUL::" + this.getClass().getSimpleName());
                try {
                    Object res = run();
                    zr = new ZuulFilterResult(res, ExecutionStatus.SUCCESS);
                } catch (Throwable e) {
                    t.setName("ZUUL::" + this.getClass().getSimpleName() + " failed");
                    zr = new ZuulFilterResult(ExecutionStatus.FAILED);
                    zr.setException(e);
                } finally {
                    t.stopAndLog();
                }
            } else {
                zr = new ZuulFilterResult(ExecutionStatus.SKIPPED);
            }
        }
View Full Code Here

Examples of com.netflix.zuul.plugins.Tracer

        LOG.info("Starting Poller");
        MetricPoller.startPoller();


        LOG.info("Registering Servo Tracer");
        TracerFactory.initialize(new Tracer());

        LOG.info("Registering Servo Counter");
        CounterFactory.initialize(new Counter());

        LOG.info("Starting CPU stats");
View Full Code Here

Examples of com.sleepycat.je.utilint.Tracer

             */

            /*
             * Tracer records.
             */
            Tracer dMsg = new Tracer("Hello there");
            writeAndRead(buffer, dMsg, new Tracer());

            /*
             * LNs
             */
            String data = "abcdef";
View Full Code Here

Examples of helma.scripting.rhino.debug.Tracer

        thread = Thread.currentThread();
        global = new GlobalObject(core, app, true);
        context = core.contextFactory.enterContext();

        if (core.hasTracer) {
            context.setDebugger(new Tracer(getResponse()), null);
        } else if (useProfiler()) {
            context.setDebugger(new Profiler(), null);
        }

        // register the engine with the current thread
View Full Code Here

Examples of io.fabric8.insight.camel.trace.Tracer

    private List<ServiceRegistration> commandRegistrations;

    public Activator() {
        strategies.put(BREADCRUMBS, new Breadcrumbs());
        strategies.put(PROFILER, new Profiler());
        strategies.put(TRACER, new Tracer());
        strategies.put(AUDITOR, new Auditor(storageProxy));
    }
View Full Code Here

Examples of net.zero.smarttrace.Tracer

   
    TraceFilter filter=new TraceFilter();
    filter.setTraceFilterName(configName);
    filter.loadConfiguration();
   
    Tracer tracer=new Tracer(config, filter);
    tracer.addListener(new EventsViewUpdater((TableViewer) Launcher.singleton.events));
   
    tracer.connect();
    }
View Full Code Here

Examples of net.zero.smarttrace.core.Tracer

     
      TraceFilter filter=new TraceFilter();
      filter.setTraceFilterName(configName);
      filter.loadConfiguration(Activator.getDefault().getStateLocation().toFile().getAbsolutePath());
     
      Activator.getDefault().startTrace(new Tracer(conf, filter, "smarttrace.model"));
      }
    return null;
    }
View Full Code Here

Examples of org.apache.blur.trace.Tracer

    // TODO: should we make this
    // threaded...? the Collector could be sync'd?
    // always use single thread:
    for (AtomicReaderContext ctx : leaves) { // search each subreader
      Tracer trace = Trace.trace("search - internal", Trace.param("AtomicReader", ctx.reader()));
      try {
        try {
          collector.setNextReader(ctx);
        } catch (CollectionTerminatedException e) {
          // there is no doc of interest in this reader context
          // continue with the following leaf
          continue;
        }
        Scorer scorer = weight.scorer(ctx, !collector.acceptsDocsOutOfOrder(), true, ctx.reader().getLiveDocs());
        if (scorer != null) {
          try {
            scorer.score(collector);
          } catch (CollectionTerminatedException e) {
            // collection was terminated prematurely
            // continue with the following leaf
          }
        }
      } finally {
        trace.done();
      }
    }
  }
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.