Package org.olat.testutils.codepoints.client

Examples of org.olat.testutils.codepoints.client.Probe


          codepointClient.getCodepoint("org.olat.core.util.cache.n.impl.cluster.ClusterCacher.sendChangedKeys").getHitCount()));

      Set<Entry<String, Probe>> s = probes_.entrySet();
      for (Iterator<Entry<String, Probe>> it = s.iterator(); it.hasNext();) {
        Entry<String, Probe> entry = it.next();
        Probe p = entry.getValue();
        ll.add(
            new PerfItem(
                entry.getKey(),
                p.getStatValue(StatId.MIN_TIME_ELAPSED),
                p.getStatValue(StatId.MAX_TIME_ELAPSED),
                p.getStatValue(StatId.LAST_TIME_ELAPSED),
                p.getStatValue(StatId.TOTAL_AVERAGE_TIME_ELAPSED),
                p.getStatValue(StatId.LAST_10MEASUREMENT_AVERAGE_TIME_ELAPSED),
                p.getStatValue(StatId.LAST_100MEASUREMENT_AVERAGE_TIME_ELAPSED),
                p.getStatValue(StatId.LAST_1000MEASUREMENT_AVERAGE_TIME_ELAPSED),
                p.getStatValue(StatId.TOTAL_FREQUENCY),
                p.getStatValue(StatId.LAST_10_FREQUENCY),
                p.getStatValue(StatId.LAST_100_FREQUENCY),
                p.getStatValue(StatId.LAST_1000_FREQUENCY),
                p.getStart().getHitCount()));
      }
    } catch (CommunicationException e) {
      ll.add(new PerfItem("Codepoint problem - no stats available there", -1,-1,-1,-1,-1, -1, -1, -1, -1, -1, -1, -1 ));
    }
    return ll;
View Full Code Here


    if (isStarted_) {
      // then stop
      isStarted_ = false;
      for (Iterator<Probe> it = probes_.values().iterator(); it
          .hasNext();) {
        Probe p = it.next();
        try{
          p.close();
        } catch(CommunicationException e) {
          // ignore
        }
      }
      probes_.clear();
View Full Code Here

TOP

Related Classes of org.olat.testutils.codepoints.client.Probe

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.