Examples of stopChrono()


Examples of com.orientechnologies.common.profiler.OProfilerMBean.stopChrono()

      final byte[] result = stream.toByteArray();
      record.fromStream(result);
      return result;

    } finally {
      profiler.stopChrono(profiler.getProcessMetric("mvrbtree.toStream"), "Serialize a MVRBTree", timer);
    }
  }

  @SuppressWarnings("unchecked")
  public OSerializableStream fromStream(final byte[] iStream) throws OSerializationException {
View Full Code Here

Examples of com.orientechnologies.common.profiler.OProfilerMBean.stopChrono()

      }
    } catch (Exception e) {
      OLogManager.instance().error(this, "Error on unmarshalling OMVRBTreeMapProvider object from record: %s", e,
          OSerializationException.class, root);
    } finally {
      profiler.stopChrono(profiler.getProcessMetric("mvrbtree.fromStream"), "Deserialize a MVRBTree", timer);
    }
    return this;
  }

  @SuppressWarnings({ "unchecked", "rawtypes" })
View Full Code Here

Examples of com.orientechnologies.common.profiler.OProfilerMBean.stopChrono()

    if (cacheEntry != null) {
      am.putToMRU(cacheEntry);

      if (profiler != null && profiler.isRecording())
        profiler.stopChrono(METRIC_HITS, "Requested item was found in Disk Cache", startTime, METRIC_HITS_METADATA);

      return new UpdateCacheResult(false, cacheEntry);
    }

    if (profiler != null && profiler.isRecording())
View Full Code Here

Examples of com.orientechnologies.common.profiler.OProfilerMBean.stopChrono()

      return new UpdateCacheResult(false, cacheEntry);
    }

    if (profiler != null && profiler.isRecording())
      profiler.stopChrono(METRIC_MISSED, "Requested item was not found in Disk Cache", startTime, METRIC_MISSED_METADATA);

    cacheEntry = a1out.remove(fileId, pageIndex);
    if (cacheEntry != null) {

      OCachePointer dataPointer = writeCache.load(fileId, pageIndex);
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.