Package org.apache.uima.ducc.agent.metrics.collectors

Examples of org.apache.uima.ducc.agent.metrics.collectors.NodeUsersCollector


      Future<NodeLoadAverage> loadFuture = pool.submit(loadAvgCollector);

      NodeCpuCollector cpuCollector = new NodeCpuCollector();
      Future<NodeCpuInfo> cpuFuture = pool.submit(cpuCollector);

      NodeUsersCollector nodeUsersCollector = new NodeUsersCollector(agent, logger);
      Future<TreeMap<String,NodeUsersInfo>> nuiFuture = pool.submit(nodeUsersCollector);

      NodeMetrics nodeMetrics =
              new NodeMetrics(agent.getIdentity(), nmiFuture.get(), loadFuture.get(),
                      cpuFuture.get(), nuiFuture.get());
View Full Code Here


      NodeMemory memInfo = nmiFuture.get();
      TreeMap<String, NodeUsersInfo> users = null;
      // begin collecting user processes and activate rogue process detector
      // only after the agent receives the first Ducc state publication.
      if ( agent.receivedDuccState ) {
          NodeUsersCollector nodeUsersCollector = new NodeUsersCollector(agent, logger);
         
          logger.info(methodName, null, "... Agent Collecting User Processes");
         
          Future<TreeMap<String,NodeUsersInfo>> nuiFuture =
                  pool.submit(nodeUsersCollector);
View Full Code Here

TOP

Related Classes of org.apache.uima.ducc.agent.metrics.collectors.NodeUsersCollector

Copyright © 2018 www.massapicom. 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.