Examples of shutdown()


Examples of ca.simplegames.micro.Extension.shutdown()

  public void shutdown() {
    if (!CollectionUtils.isEmpty(registeredExtensions)) {
      for (String extensionName : registeredExtensions) {
        Extension extension = (Extension) site.get(extensionName);
        if (extension != null) {
          extension.shutdown();
        }
      }
    }
  }
}
View Full Code Here

Examples of cc.mallet.fst.CRFTrainerByLabelLikelihood.shutdown()

      else {
        CRFTrainerByThreadedLabelLikelihood trainer = new CRFTrainerByThreadedLabelLikelihood(crf,numThreads);
        trainer.setAddNoFactors(true);
        trainer.setGaussianPriorVariance(gpv);
        trainer.train(trainingSet,supIterations);
        trainer.shutdown();
      }
      runEvaluators();
    }
   
    // train semi-supervised
View Full Code Here

Examples of cc.mallet.fst.CRFTrainerByThreadedLabelLikelihood.shutdown()

      else {
        CRFTrainerByThreadedLabelLikelihood trainer = new CRFTrainerByThreadedLabelLikelihood(crf,numThreads);
        trainer.setAddNoFactors(true);
        trainer.setGaussianPriorVariance(gpv);
        trainer.train(trainingSet,supIterations);
        trainer.shutdown();
      }
      runEvaluators();
    }
   
    // train semi-supervised
View Full Code Here

Examples of cc.mallet.fst.semi_supervised.CRFOptimizableByGE.shutdown()

      e.printStackTrace();
    }
   
    if (numThreads > 1) {
      ((ThreadedOptimizable)optLikelihood).shutdown();
      ge.shutdown();
    }
   
    return converged;
  }
 
View Full Code Here

Examples of ch.entwine.weblounge.cache.CacheService.shutdown()

    } catch (IllegalStateException e) {
      // Never mind, the service has been unregistered already
    } catch (Throwable t) {
      logger.error("Unregistering cache service failed: {}", t.getMessage());
    }
    cache.shutdown();
  }

}
View Full Code Here

Examples of ch.marcsladek.jrtnp.connection.Connection.shutdown()

  public synchronized boolean removeClient(String identifier) {
    Connection client = clientPool.remove(identifier);
    boolean success = false;
    if (client != null) {
      try {
        client.shutdown();
        success = true;
      } catch (IOException e) {
      }
    }
    return success;
View Full Code Here

Examples of cl.niclabs.skandium.Skandium.shutdown()

      System.out.println((System.currentTimeMillis() - init)+"[ms]: "+out.toArray());
      for(int i=0; i<out.size()-2;i++) {
        if(out.get(i) > out.get(i+1)) throw new Exception("Not sorted! "+ i + " "+ (i+1));
      }

      skandium.shutdown();
    } catch (Exception e) {
      e.printStackTrace();
    }
  }
 
View Full Code Here

Examples of com.alibaba.jstorm.local.LocalCluster.shutdown()

    LocalCluster cluster = new LocalCluster();
    cluster.submitTopology(topologyName, conf, builder.createTopology());

    Thread.sleep(600000);

    cluster.shutdown();
  }

  public static void SetRemoteTopology() throws AlreadyAliveException,
      InvalidTopologyException, TopologyAssignException {
View Full Code Here

Examples of com.alibaba.otter.node.etl.common.task.GlobalTask.shutdown()

    }

    private void stopTask(Map<StageType, GlobalTask> tasks, StageType taskType) {
        GlobalTask task = tasks.remove(taskType);
        if (task != null) {
            task.shutdown();
            logger.info("INFO ## taskName = {} has shutdown", taskType);
        } else {
            logger.info("INFo ## taskName = {} is not started", taskType);
        }
View Full Code Here

Examples of com.alibaba.rocketmq.client.consumer.DefaultMQPullConsumer.shutdown()

        }
        catch (Exception e) {
            e.printStackTrace();
        }
        finally {
            defaultMQPullConsumer.shutdown();
            defaultMQAdminExt.shutdown();
        }
    }
}
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.