net.sf.ehcache.Ehcache.getSampledCacheStatistics()方法的使用及代码示例

x33g5p2x  于2022-01-19 转载在 其他  
字(4.8k)|赞(0)|评价(0)|浏览(190)

本文整理了Java中net.sf.ehcache.Ehcache.getSampledCacheStatistics()方法的一些代码示例,展示了Ehcache.getSampledCacheStatistics()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Ehcache.getSampledCacheStatistics()方法的具体详情如下:
包路径:net.sf.ehcache.Ehcache
类名称:Ehcache
方法名:getSampledCacheStatistics

Ehcache.getSampledCacheStatistics介绍

[英]Returns sampled statistics for this cache.
[中]返回此缓存的采样统计信息。

代码示例

代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.ehcache

/**
 * {@inheritDoc}
 */
public SampledCacheStatistics getSampledCacheStatistics() {
  return underlyingCache.getSampledCacheStatistics();
}

代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.ehcache

/**
 * {@inheritDoc}
 */
public long getCacheElementExpiredMostRecentSample() {
  return cache.getSampledCacheStatistics().getCacheElementExpiredMostRecentSample();
}

代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.ehcache

/**
 * {@inheritDoc}
 */
public long getCacheMissMostRecentSample() {
  return cache.getSampledCacheStatistics().getCacheMissMostRecentSample();
}

代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.ehcache

/**
 * {@inheritDoc}
 */
public long getCacheMissInMemoryMostRecentSample() {
  return cache.getSampledCacheStatistics().getCacheMissInMemoryMostRecentSample();
}

代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.ehcache

/**
 * {@inheritDoc}
 */
public long getCacheMissOffHeapMostRecentSample() {
  return cache.getSampledCacheStatistics().getCacheMissOffHeapMostRecentSample();
}

代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.ehcache

/**
 * {@inheritDoc}
 */
public long getCacheMissOnDiskMostRecentSample() {
  return cache.getSampledCacheStatistics().getCacheMissOnDiskMostRecentSample();
}

代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.ehcache

/**
 * {@inheritDoc}
 */
public String getStatisticsAccuracyDescription() {
  return cache.getSampledCacheStatistics().getStatisticsAccuracyDescription();
}

代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.ehcache

/**
 * {@inheritDoc}
 */
public long getAverageGetTimeMostRecentSample() {
  return cache.getSampledCacheStatistics().getAverageGetTimeMostRecentSample();
}

代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.ehcache

/**
 * {@inheritDoc}
 */
public long getCacheHitInMemoryMostRecentSample() {
  return cache.getSampledCacheStatistics().getCacheHitInMemoryMostRecentSample();
}

代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.ehcache

/**
 * {@inheritDoc}
 */
public long getCacheHitMostRecentSample() {
  return cache.getSampledCacheStatistics().getCacheHitMostRecentSample();
}

代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.ehcache

/**
 * {@inheritDoc}
 */
public long getCacheMissExpiredMostRecentSample() {
  return cache.getSampledCacheStatistics().getCacheMissExpiredMostRecentSample();
}

代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.ehcache

/**
 * {@inheritDoc}
 */
public long getCacheSearchRate() {
  return cache.getSampledCacheStatistics().getSearchesPerSecond();
}

代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.ehcache

/**
 * {@inheritDoc}
 */
public long getCacheElementEvictedMostRecentSample() {
  return cache.getSampledCacheStatistics().getCacheElementEvictedMostRecentSample();
}

代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.ehcache

/**
 * {@inheritDoc}
 */
public long getCacheElementPutMostRecentSample() {
  return cache.getSampledCacheStatistics().getCacheElementPutMostRecentSample();
}

代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.ehcache

/**
 * {@inheritDoc}
 */
public long getCacheElementRemovedMostRecentSample() {
  return cache.getSampledCacheStatistics().getCacheElementRemovedMostRecentSample();
}

代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.ehcache

/**
 * {@inheritDoc}
 */
public long getCacheHitOffHeapMostRecentSample() {
  return cache.getSampledCacheStatistics().getCacheHitOffHeapMostRecentSample();
}

代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.ehcache

/**
 * {@inheritDoc}
 */
public boolean isSampledStatisticsEnabled() {
  return cache.getSampledCacheStatistics().isSampledStatisticsEnabled();
}

代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.ehcache

/**
 * {@inheritDoc}
 */
public long getCacheAverageSearchTime() {
  return cache.getSampledCacheStatistics().getAverageSearchTime();
}

代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.ehcache

/**
   * {@inheritDoc}
   */
  public int getCacheHitRatioMostRecentSample() {
    return cache.getSampledCacheStatistics().getCacheHitRatioMostRecentSample();
  }
}

代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.ehcache

/**
 * {@inheritDoc}
 */
public long getCacheMissNotFoundMostRecentSample() {
  return cache.getSampledCacheStatistics().getCacheMissNotFoundMostRecentSample();
}

相关文章

Ehcache类方法