Examples of RuntimeInfo


Examples of com.dianping.cat.status.model.entity.RuntimeInfo

  @Override
  public void visitStatus(StatusInfo status) {
    status.setTimestamp(new Date());
    status.setOs(new OsInfo());
    status.setDisk(new DiskInfo());
    status.setRuntime(new RuntimeInfo());
    status.setMemory(new MemoryInfo());
    status.setThread(new ThreadsInfo());
    status.setMessage(new MessageInfo());

    super.visitStatus(status);
View Full Code Here

Examples of com.jbidwatcher.ui.util.RuntimeInfo

    loadProxySettings();

    synchronized (memInfoSynch) {
      if (JConfig.queryConfiguration("debug.memory", "false").equals("true")) {
        if (_rti == null) {
          _rti = new RuntimeInfo();
        } else {
          _rti.setVisible(true);
        }
      } else {
        if (_rti != null) _rti.setVisible(false);
View Full Code Here

Examples of com.opera.core.systems.scope.protos.EsdbgProtos.RuntimeInfo

    // until every platform upgrades to core 2.7+
    executeJavascript("return 1;", true);
  }

  public boolean updateRuntime() {
    RuntimeInfo activeRuntime = findRuntime();
    if (activeRuntime != null) {
      setRuntime(activeRuntime);
      return true;
    }
    return false;
View Full Code Here

Examples of com.opera.core.systems.scope.protos.EsdbgProtos.RuntimeInfo

   */
  // TODO this has to be kept up to date with events and as failover we should update It builds a tree to find the frame we are looking for
  // TODO tree also must be kept up to date
  private void buildRuntimeTree() {
    updateRuntime();
    RuntimeInfo rootInfo = findRuntime();
    String rootPath = rootInfo.getHtmlFramePath();

    root = new RuntimeNode();
    root.setFrameName(rootPath);
    root.setRuntimeID(rootInfo.getRuntimeID());

    List<RuntimeInfo> runtimesInfos = Lists.newArrayList(runtimesList.values());
    runtimesInfos.remove(rootInfo);

    for (RuntimeInfo runtimeInfo : runtimesInfos) {
View Full Code Here

Examples of com.opera.core.systems.scope.protos.EsdbgProtos.RuntimeInfo

    if (node == null) {
      throw new NoSuchFrameException("Invalid frame index " + index);
    }

    RuntimeInfo info = runtimesList.get(node.getRuntimeID());
    currentFramePath = info.getHtmlFramePath();
    setRuntime(info);
  }
View Full Code Here

Examples of org.apache.hadoop.thriftfs.api.RuntimeInfo

  /**
   * Return lots of status info about this server
   */
  public RuntimeInfo getRuntimeInfo(RequestContext ctx) {
    RuntimeInfo ri = new RuntimeInfo();
    ri.totalMemory = Runtime.getRuntime().totalMemory();
    ri.freeMemory = Runtime.getRuntime().freeMemory();
    ri.maxMemory = Runtime.getRuntime().maxMemory();

    return ri;
View Full Code Here

Examples of org.apache.maven.settings.RuntimeInfo

        return settings;
    }

    private static RuntimeInfo createRuntimeInfo( CommandLine commandLine, Settings settings )
    {
        RuntimeInfo runtimeInfo = new RuntimeInfo( settings );

        if ( commandLine.hasOption( CLIManager.FORCE_PLUGIN_UPDATES ) ||
            commandLine.hasOption( CLIManager.FORCE_PLUGIN_UPDATES2 ) )
        {
            runtimeInfo.setPluginUpdateOverride( Boolean.TRUE );
        }
        else if ( commandLine.hasOption( CLIManager.SUPPRESS_PLUGIN_UPDATES ) )
        {
            runtimeInfo.setPluginUpdateOverride( Boolean.FALSE );
        }

        return runtimeInfo;
    }
View Full Code Here

Examples of org.apache.maven.settings.RuntimeInfo

        String updatedVersion = null;

        // we're not going to prompt the user to accept a plugin update until we find one.
        boolean promptToPersist = false;

        RuntimeInfo settingsRTInfo = settings.getRuntimeInfo();

        // determine the behavior WRT prompting the user and installing plugin updates.
        Boolean pluginUpdateOverride = settingsRTInfo.getPluginUpdateOverride();

        // second pass...if we're using the plugin registry, and the plugin is listed in the plugin-registry.xml, use
        // the version from <useVersion/>.
        if ( StringUtils.isEmpty( version ) && settings.isUsePluginRegistry() )
        {
View Full Code Here

Examples of org.apache.maven.settings.RuntimeInfo

        return settings;
    }

    private static RuntimeInfo createRuntimeInfo( CommandLine commandLine, Settings settings )
    {
        RuntimeInfo runtimeInfo = new RuntimeInfo( settings );

        if ( commandLine.hasOption( CLIManager.FORCE_PLUGIN_UPDATES ) ||
            commandLine.hasOption( CLIManager.FORCE_PLUGIN_UPDATES2 ) )
        {
            runtimeInfo.setPluginUpdateOverride( Boolean.TRUE );
        }
        else if ( commandLine.hasOption( CLIManager.SUPPRESS_PLUGIN_UPDATES ) )
        {
            runtimeInfo.setPluginUpdateOverride( Boolean.FALSE );
        }

        return runtimeInfo;
    }
View Full Code Here

Examples of org.apache.maven.settings.RuntimeInfo

        }

        if ( settings == null )
        {
            settings = new Settings();
            RuntimeInfo rtInfo = new RuntimeInfo(settings);
            settings.setRuntimeInfo(rtInfo);
        }

        return settings;
    }
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.