Package org.xmlBlaster.engine.cluster

Examples of org.xmlBlaster.engine.cluster.NodeStateInfo


         NodeParser nodeParser = new NodeParser(serverScope, new ClusterNode(
               serverScope, new NodeId("avalon"), null), xml);
         ClusterNode clusterNode = nodeParser.getClusterNode();
         log.info(clusterNode.toXml());
         NodeStateInfo state = clusterNode.getNodeStateInfo();
         assertEquals(10657, state.getFreeRam());
         assertEquals(59, state.getAvgCpuIdle());

      } catch (XmlBlasterException e) {
         e.printStackTrace();
         fail(e.toString());
      }
View Full Code Here

TOP

Related Classes of org.xmlBlaster.engine.cluster.NodeStateInfo

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.