Examples of shutdown()


Examples of com.datastax.driver.core.Session.shutdown()

        try {
            Thread.sleep(60000L);
        } catch (InterruptedException e) {
            // nothing
        }
        oldWrappedSession.shutdown();
    }

    private double calculateRequestLimit() {
        double rate = 0.0;
        for (Host host : wrappedSession.getCluster().getMetadata().getAllHosts()) {
View Full Code Here

Examples of com.dbxml.db.client.dbXMLClient.shutdown()

      PrintWriter pw = cl.getWriter();

      int exitCode = 0;
      if ( cl.hasMoreTokens() )
         exitCode = Integer.parseInt(cl.getNextToken());
      client.shutdown(exitCode);

      try {
         client.disconnect();
         pw.println("Disconnected");
      }
View Full Code Here

Examples of com.documents4j.api.IConverter.shutDown()

                        logger.error("Error when reading from console.");
                    }
                } while (argument != null);
                sayGoodbye(converter, logger);
            } finally {
                converter.shutDown();
            }
            console.printf("The connection was successfully closed. Goodbye!%n");
        } catch (Exception e) {
            LoggerFactory.getLogger(StandaloneClient.class).error("The document conversion client terminated with an unexpected error", e);
            System.err.println(String.format("Error: %s", e.getMessage()));
View Full Code Here

Examples of com.documents4j.conversion.IExternalConverter.shutDown()

            externalConverter = makeBridge(folder);
            getAssertionEngine().assertRunning();
            assertTrue(externalConverter.isOperational());
        } finally {
            assertNotNull(externalConverter);
            externalConverter.shutDown();
            assertFalse(externalConverter.isOperational());
            getAssertionEngine().assertNotRunning();
        }
    }
View Full Code Here

Examples of com.eastmountain.chinese.observable.HZFlashcardsDataModel.shutdown()

                    HZFlashcardsDataModel hzFlashcardsDataModel;
                    try {

                        hzFlashcardsDataModel = HZFlashcardsDataModel.getInstance();

                        hzFlashcardsDataModel.shutdown();

                    } catch ( DBAccessException exception ) {

                        // TODO
                                                                                                // Auto-generated
View Full Code Here

Examples of com.facebook.presto.jdbc.internal.netty.channel.ChannelFactory.shutdown()

     * {@link ChannelFactory#shutdown()}.
     */
    public void shutdown() {
        ChannelFactory factory = this.factory;
        if (factory != null) {
            factory.shutdown();
        }
    }
    /**
     * Returns {@code true} if and only if the specified {@code map} is an
     * ordered map, like {@link LinkedHashMap} is.
View Full Code Here

Examples of com.firefly.net.Client.shutdown()

    session.encode("getfile");
        ret = (String)session.getResult(1000);
    System.out.println("receive[" + ret + "]");

        session.close(false);
        client.shutdown();
        LogFactory.getInstance().shutdown();
  }
}
View Full Code Here

Examples of com.firefly.net.support.wrap.client.SimpleTcpClient.shutdown()

      }
    });
    c3.close(true);;
   
    Thread.sleep(4000);
    client.shutdown();
    LogFactory.getInstance().shutdown();
//    System.out.println("shutdown");

   
  }
View Full Code Here

Examples of com.firefly.net.tcp.TcpClient.shutdown()

    session.encode("getfile");
        ret = (String)session.getResult(1000);
    System.out.println("receive[" + ret + "]");

        session.close(false);
        client.shutdown();
        LogFactory.getInstance().shutdown();
  }
}
View Full Code Here

Examples of com.flashdoctors.socket.FDSocketServer.shutdown()

      String launchURL = swfURL + param;

      BrowserLauncher.openURL(launchURL);
    } catch (Exception e)
    {
      xmlSocket.shutdown();
      throw new BuildException("Error opening browser", e);
    }

    log("running tests... (please wait)");
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.