core/src/main/java/com/orientechnologies/orient/core/storage/impl/local/statistic/OSessionStoragePerformanceStatistic.java
public void completeComponentOperation() {
    final Component currentComponent = componentsStack.peek();
    if (currentComponent == null)
      return;

    currentComponent.operationCount--;

    if (currentComponent.operationCount == 0) {
      final String componentName = currentComponent.name;

      PerformanceCountersHolder cHolder = countersByComponent
          .computeIfAbsent(componentName, k -> currentComponent.type.newCountersHolder());

      cHolder.operationsCount++;

      componentsStack.pop();

      makeSnapshotIfNeeded(-1);
    }
  }
public void completeComponentOperation() {
    final Component currentComponent = componentsStack.peek();
    if (currentComponent == null)
      return;

    currentComponent.operationCount--;

    if (currentComponent.operationCount == 0) {
      final String componentName = currentComponent.name;

      PerformanceCountersHolder cHolder = countersByComponent
          .computeIfAbsent(componentName, k -> currentComponent.type.newCountersHolder());

      cHolder.operationsCount++;

      componentsStack.pop();

      makeSnapshotIfNeeded(-1);
    }
  }
public void completeComponentOperation ( ) { final Component currentComponent = componentsStack . peek ( ) ; if ( currentComponent == null ) return ; currentComponent . operationCount -- ; if ( currentComponent . operationCount == 0 ) { final String componentName = currentComponent . name ; PerformanceCountersHolder cHolder = countersByComponent . computeIfAbsent ( componentName , k -> currentComponent . type . newCountersHolder ( ) ) ; cHolder . operationsCount ++ ; componentsStack . pop ( ) ; makeSnapshotIfNeeded ( - 1 ) ; } }
Indicates that the most earliest component in stack of components has completed it's operation, so performance data for this
component is stopped to be gathered.

@see #startComponentOperation(String, ComponentType)
Indicates that the most earliest component in stack of components has completed it s operation so performance data for this component is stopped to be gathered .