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

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

    return -1;
  }
public long getAmountOfPagesPerOperation(String componentName) {
    if (componentName == null) {
      return -1;
    }

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

    return -1;
  }
public long getAmountOfPagesPerOperation ( String componentName ) { if ( componentName == null ) { return - 1 ; } final PerformanceCountersHolder cHolder = countersByComponent . get ( componentName ) ; if ( cHolder != null ) return cHolder . getAmountOfPagesPerOperation ( ) ; return - 1 ; }
Average amount of pages which were read from cache for component with given name during single data operation.
<p>
If null value is passed or 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 Average amount of pages which were read from cache for component with given name during single data operation or value
which is less than 0, which means that value cannot be calculated.
Average amount of pages which were read from cache for component with given name during single data operation . <p > If null value is passed or data for component with passed in name does not exist then <code > - 1< / code > will be returned .