core/src/main/java/com/orientechnologies/orient/core/storage/impl/local/OAbstractPaginatedStorage.java
public OSessionStoragePerformanceStatistic completeGatheringPerformanceStatisticForCurrentThread() {
    try {
      return performanceStatisticManager.stopThreadMonitoring();
    } catch (final RuntimeException ee) {
      throw logAndPrepareForRethrow(ee);
    } catch (final Error ee) {
      throw logAndPrepareForRethrow(ee);
    } catch (final Throwable t) {
      throw logAndPrepareForRethrow(t);
    }
  }
public OSessionStoragePerformanceStatistic completeGatheringPerformanceStatisticForCurrentThread() {
    try {
      return performanceStatisticManager.stopThreadMonitoring();
    } catch (final RuntimeException ee) {
      throw logAndPrepareForRethrow(ee);
    } catch (final Error ee) {
      throw logAndPrepareForRethrow(ee);
    } catch (final Throwable t) {
      throw logAndPrepareForRethrow(t);
    }
  }
public OSessionStoragePerformanceStatistic completeGatheringPerformanceStatisticForCurrentThread ( ) { try { return performanceStatisticManager . stopThreadMonitoring ( ) ; } catch ( final RuntimeException ee ) { throw logAndPrepareForRethrow ( ee ) ; } catch ( final Error ee ) { throw logAndPrepareForRethrow ( ee ) ; } catch ( final Throwable t ) { throw logAndPrepareForRethrow ( t ) ; } }
Completes gathering performance characteristics for current thread initiated by call of {@link
#startGatheringPerformanceStatisticForCurrentThread()}

@return Performance statistic gathered after call of {@link #startGatheringPerformanceStatisticForCurrentThread()} or
<code>null</code> if profiling of storage was not started.
Completes gathering performance characteristics for current thread initiated by call of { @link #startGatheringPerformanceStatisticForCurrentThread () }