Examples of shutdown()


Examples of org.fcrepo.server.journal.readerwriter.multicast.rmi.RmiTransport.shutdown()

        assertCorrectNumberOfCalls(1, 0, 0);

        transport.closeFile();
        assertCorrectNumberOfCalls(1, 1, 1);

        transport.shutdown();
        assertCorrectNumberOfCalls(1, 1, 1);
    }

    @Ignore
    @Test
View Full Code Here

Examples of org.freeplane.plugin.workspace.features.AWorkspaceModeExtension.shutdown()

      ModeController modeController = Controller.getCurrentController().getModeController(modeName);
      AWorkspaceModeExtension modeExt = modeController.getExtension(AWorkspaceModeExtension.class);
      if(modeExt == null) {
        continue;
      }
      modeExt.shutdown();
    }
   
  }
 
  public static WorkspaceModel getCurrentModel() {
View Full Code Here

Examples of org.geowebcache.diskquota.DiskQuotaMonitor.shutDown()

            ConfigurableQuotaStoreProvider provider = (ConfigurableQuotaStoreProvider) monitor.getQuotaStoreProvider();
            provider.reloadQuotaStore();
           
            // restart the monitor, the quota store might have been changed and pointed to another DB
            // and we need to re-init the tile pages
            monitor.shutDown(1);
            monitor.startUp();
        } catch(Exception e) {
            log.log(Level.SEVERE, "Failed to reload the disk quoa configuration", e);
        }
    }
View Full Code Here

Examples of org.glassfish.grizzly.http.server.HttpServer.shutdown()

            System.err.print("Server started.\n");
            synchronized (Server.class) {
    Server.class.wait();
            }
        } finally {
            httpServer.shutdown();
        }
    }
   
    private static class SimplifyAddOn implements AddOn {
View Full Code Here

Examples of org.glassfish.hk2.api.ServiceLocator.shutdown()

              }
          }
      }
   
      if (killMe != null) {
          killMe.shutdown();
      }
  }
 
  public void destroy(ServiceLocator locator) {
      if (locator == null) return;
View Full Code Here

Examples of org.globus.workspace.service.InstanceResource.shutdown()

                switch (type) {
                    case t_START:
                        resource.start();
                        break;
                    case t_SHUTDOWN:
                        resource.shutdown(tasks);
                        break;
                    case t_SHUTDOWN_SAVE:
                        resource.shutdownSave(tasks);
                        break;
                    case t_PAUSE:
View Full Code Here

Examples of org.h2.tools.Console.shutdown()

            // start including browser
            lastUrl = "-";
            System.setProperty(SysProperties.H2_BROWSER, "call:" + TestTools.class.getName() + ".openBrowser");
            c.runTool("-web", "-webPort", "9002", "-tool", "-browser", "-tcp", "-tcpPort", "9003", "-pg", "-pgPort", "9004");
            assertContains(lastUrl, ":9002");
            c.shutdown();

            // check if starting the browser works
            c.runTool("-web", "-webPort", "9002", "-tool");
            lastUrl = "-";
            c.actionPerformed(new ActionEvent(this, 0, "console"));
View Full Code Here

Examples of org.h2.tools.Server.shutdown()

        conn = DriverManager.getConnection("jdbc:h2:tcp://localhost:9006/mem:", "sa", "sa");
        conn.close();

        result = runServer(0, new String[]{"-tcpShutdown", "tcp://localhost:9006", "-tcpPassword", "abc", "-tcpShutdownForce"});
        assertTrue(result.indexOf("Shutting down") >= 0);
        stop.shutdown();
        assertThrows(ErrorCode.CONNECTION_BROKEN_1, this).
                getConnection("jdbc:h2:tcp://localhost:9006/mem:", "sa", "sa");
    }

    private String runServer(int exitCode, String... args) {
View Full Code Here

Examples of org.hbase.async.HBaseClient.shutdown()

    final HBaseClient client = Common.getOpt(TestIncrementCoalescing.class,
                                             args);
    try {
      createOrTruncateTable(client, args[0], args[1]);
    } finally {
      client.shutdown().join();
    }
  }

  /** Creates or truncates the given table name. */
  private static void createOrTruncateTable(final HBaseClient client,
View Full Code Here

Examples of org.hive2hive.client.menu.IntroMenu.shutdown()

   
    new LoggerMenu().open();
   
    IntroMenu menu = new IntroMenu();
    menu.open();
    menu.shutdown();
   
    printFooter();
  }
 
  private static void printHeader() {   
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.