Examples of PerFunction


Examples of com.opengamma.engine.calcnode.msg.Invocations.PerConfiguration.PerFunction

  // -------------------------------------------------------------------------
  @Override
  public void functionInvoked(final String configurationName, final String functionId, final int invocationCount,
      final double executionNanos, final double dataInputBytes, final double dataOutputBytes) {
    final ConcurrentMap<String, PerFunction> statsMap = getConfigurationData(configurationName);
    PerFunction stats = statsMap.get(functionId);
    if (stats == null) {
      stats = new PerFunction(functionId, invocationCount, executionNanos, dataInputBytes, dataOutputBytes);
      PerFunction newStats = statsMap.putIfAbsent(functionId, stats);
      if (newStats == null) {
        return; // data stored in constructor of PerFunction above
      }
      stats = newStats;
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.