core/src/main/java/com/orientechnologies/orient/core/storage/impl/local/statistic/OSessionStoragePerformanceStatistic.java
public long getWriteSpeedInCacheInPages(String componentName) {
    if (componentName == null)
      return performanceCountersHolder.getWriteSpeedInCacheInPages();

    final PerformanceCountersHolder cHolder = countersByComponent.get(componentName);
    if (cHolder != null)
      return cHolder.getWriteSpeedInCacheInPages();

    return -1;
  }
public long getWriteSpeedInCacheInPages(String componentName) {
    if (componentName == null)
      return performanceCountersHolder.getWriteSpeedInCacheInPages();

    final PerformanceCountersHolder cHolder = countersByComponent.get(componentName);
    if (cHolder != null)
      return cHolder.getWriteSpeedInCacheInPages();

    return -1;
  }
Write speed of data in pages per second on cache level for component name of which is passed as method argument. If null value
is passed then value for whole system will be returned. If data for component with passed in name does not exist then
<code>-1</code> will be returned.

@param componentName Name of component data of which should be returned. Name is case sensitive.

@return Write speed of data in pages per second on cache level or value which is less than 0, which means that value cannot be
calculated.