Examples of Shutdown


Examples of ch.ethz.inf.vs.californium.plugtests.resources.Shutdown

        add(new Link2());
        add(new Link3());
        add(new Path());
        add(new Validate());
        add(new Create());
        add(new Shutdown());
    }
View Full Code Here

Examples of com.l2jfrozen.gameserver.Shutdown

   * @see com.l2jfrozen.gameserver.tasks.Task#onTimeElapsed(com.l2jfrozen.gameserver.tasks.TaskManager.ExecutedTask)
   */
  @Override
  public void onTimeElapsed(ExecutedTask task)
  {
    Shutdown handler = new Shutdown(Integer.valueOf(task.getParams()[2]), true, true, false);
    handler.start();
  }
View Full Code Here

Examples of com.l2jfrozen.gameserver.Shutdown

   * @see com.l2jfrozen.gameserver.taskmanager.Task#onTimeElapsed(com.l2jfrozen.gameserver.taskmanager.TaskManager.ExecutedTask)
   */
  @Override
  public void onTimeElapsed(ExecutedTask task)
  {
    Shutdown handler = new Shutdown(Integer.valueOf(task.getParams()[2]), false, true, false);
    handler.start();
  }
View Full Code Here

Examples of com.sun.enterprise.server.Shutdown

     */
    public PEMain() {
        // Set the context class loader
        _loader = getClass().getClassLoader();
        Thread.currentThread().setContextClassLoader(_loader);
  AdminEventListenerRegistry.addShutdownEventListener(new Shutdown());
        _instance = this;
    }
View Full Code Here

Examples of cu.ftpd.commands.site.actions.Shutdown

    public SiteCommandHandler(FtpdSettings settings) {

        // BASIC
        actions.put("xdupe", new Xdupe());
        actions.put("shutdown", new Shutdown());
        actions.put("commandlog", new CommandLog());

        actions.put("who", new Who());
        actions.put("xwho", new XWho());
        actions.put("help", new Help(actions));
View Full Code Here

Examples of gwlpr.mapshard.controllers.ShutDown

        // register the controllers
        thisContext.get().getEventAggregator()
                // register for container related events
                .register(new ClientConnect(thisContext, parentContext, clientRegistry, world))
                .register(new ClientDisconnect(thisContext, parentContext, entityManager))
                .register(new ShutDown(thisContext, parentContext, sysUpdate, heartbeat))
               
                // register for gw-protocol related events
                .register(new LatencyAndSynchonization(clientRegistry))
                .register(new CharacterCreation())
                .register(new Chat(eventAgg))
View Full Code Here

Examples of net.sf.l2j.gameserver.Shutdown

     * @see net.sf.l2j.gameserver.tasks.Task#onTimeElapsed(net.sf.l2j.gameserver.tasks.TaskManager.ExecutedTask)
     */
    @Override
    public void onTimeElapsed(ExecutedTask task)
    {
        Shutdown handler = new Shutdown(Integer.valueOf(task.getParams()[2]),true);
        handler.start();
    }
View Full Code Here

Examples of net.sf.l2j.gameserver.Shutdown

     * @see net.sf.l2j.gameserver.taskmanager.Task#onTimeElapsed(net.sf.l2j.gameserver.taskmanager.TaskManager.ExecutedTask)
     */
    @Override
    public void onTimeElapsed(ExecutedTask task)
    {
        Shutdown handler = new Shutdown(Integer.valueOf(task.getParams()[2]),false);
        handler.start();
    }
View Full Code Here

Examples of net.tomp2p.p2p.Shutdown

     * @throws IOException .
     */
    private static void exmpleDirectReplication(final PeerDHT[] peers) throws IOException, InterruptedException {
        PutBuilder putBuilder = peers[1].put(Number160.ONE).data(new Data("test"));
        DirectReplication replication = new DirectReplication(peers[1].peer());
        Shutdown shutdown = replication.start(putBuilder, 1000, -1, new AutomaticFuture() {
      @Override
      public void futureCreated(BaseFuture future) {
        System.out.println("put again...");
      }
    });
        Thread.sleep(NINE_SECONDS);
        System.out.println("stop replication");
        shutdown.shutdown();
        RemoveBuilder removeBuilder = peers[1].remove(Number160.ONE);
        replication.start(removeBuilder, 1000, 9, new AutomaticFuture() {
      @Override
      public void futureCreated(BaseFuture future) {
        System.out.println("remove again...");
View Full Code Here

Examples of net.tomp2p.p2p.Shutdown

      final DirectReplicationWorker worker = new DirectReplicationWorker(builder, automaticFuture, repetitions, latch);
      ScheduledFuture<?> future = scheduledExecutorService.scheduleWithFixedDelay(worker, 0, intervalMillis,
              TimeUnit.MILLISECONDS);
      worker.future = future;
      latch.countDown();
      return new Shutdown() {
        @Override
        public BaseFuture shutdown() {
          worker.shutdown();
          return new FutureDone<Void>().done();
        }
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.