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

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

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

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

    return -1;
  }
public long getAmountOfPagesReadFromCache ( String componentName ) { if ( componentName == null ) return performanceCountersHolder . getAmountOfPagesReadFromCache ( ) ; final PerformanceCountersHolder cHolder = countersByComponent . get ( componentName ) ; if ( cHolder != null ) return cHolder . getAmountOfPagesReadFromCache ( ) ; return - 1 ; }
Amount of pages read from cache 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 Amount of pages read from cache in total.
Amount of pages read from cache 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 .