Package org.gridkit.vicluster

Examples of org.gridkit.vicluster.ViNode.exec()


  public void classify_serial_gc() throws IOException {
    try {
      String gc = "-XX:+UseSerialGC";
      ViNode jvm = cloud.node(gc);
      JvmProps.at(jvm).addJvmArg(gc);     
      jvm.exec(new Callable<Void>() {

        @Override
        public Void call() throws Exception {
          dumpMemoryPools();
          return null;
View Full Code Here


  public void classify_par_new_gc() throws IOException {
    try {
      String gc = "-XX:+UseParNewGC";
      ViNode jvm = cloud.node(gc);
      JvmProps.at(jvm).addJvmArg(gc);     
      jvm.exec(new Callable<Void>() {
       
        @Override
        public Void call() throws Exception {
          dumpMemoryPools();
          return null;
View Full Code Here

  public void classify_ps_gc() throws IOException {
    try {
      String gc = "|-XX:+UseParallelGC|-XX:-UseParallelOldGC";
      ViNode jvm = cloud.node(gc);
      JvmProps.at(jvm).addJvmArg(gc);
      jvm.exec(new Callable<Void>() {
       
        @Override
        public Void call() throws Exception {
          dumpMemoryPools();
          return null;
View Full Code Here

  public void classify_par_old_gc() throws IOException {
    try {
      String gc = "-XX:+UseParallelOldGC";
      ViNode jvm = cloud.node(gc);
      JvmProps.at(jvm).addJvmArg(gc);
      jvm.exec(new Callable<Void>() {
       
        @Override
        public Void call() throws Exception {
          dumpMemoryPools();
          return null;
View Full Code Here

  public void classify_cms_def_new_gc() throws IOException {
    try {
      String gc = "|-XX:+UseConcMarkSweepGC|-XX:-UseParNewGC";
      ViNode jvm = cloud.node(gc);
      JvmProps.at(jvm).addJvmArg(gc);
      jvm.exec(new Callable<Void>() {
       
        @Override
        public Void call() throws Exception {
          dumpMemoryPools();
          return null;
View Full Code Here

  public void classify_cms_par_new_gc() throws IOException {
    try {
      String gc = "|-XX:+UseConcMarkSweepGC|-XX:+UseParNewGC";
      ViNode jvm = cloud.node(gc);
      JvmProps.at(jvm).addJvmArg(gc);
      jvm.exec(new Callable<Void>() {
       
        @Override
        public Void call() throws Exception {
          dumpMemoryPools();
          return null;
View Full Code Here

  public void classify_g1_gc() throws IOException {
    try {
      String gc = "-XX:+UseG1GC";
      ViNode jvm = cloud.node(gc);
      JvmProps.at(jvm).addJvmArg(gc);
      jvm.exec(new Callable<Void>() {
       
        @Override
        public Void call() throws Exception {
          dumpMemoryPools();
          return null;
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.