Examples of shutdown()


Examples of com.atomikos.icatch.TSListener.shutdown()

            TSListener l = (TSListener) enumm.nextElement ();
            try {
              if ( init ) {
                  l.init ( before , properties_ );
              } else {
                  l.shutdown ( before );
              }
            }
            catch ( Exception e ) {
                Configuration.logWarning ( "Error in TSListener" , e );
            }
View Full Code Here

Examples of com.atomikos.icatch.imp.BaseTransactionManager.shutdown()

            return;

      

        try {
            tm.shutdown ( force );
            tm = null;
            // shutdown system executors
            TaskManager exec = TaskManager.getInstance();
            if ( exec != null ) {
                exec.shutdown();
View Full Code Here

Examples of com.atomikos.icatch.imp.thread.TaskManager.shutdown()

            tm.shutdown ( force );
            tm = null;
            // shutdown system executors
            TaskManager exec = TaskManager.getInstance();
            if ( exec != null ) {
                exec.shutdown();
            }
            // delegate to superclass to ensure resources are delisted.
            super.shutdown ( force );
     
       try {
View Full Code Here

Examples of com.avaje.ebean.EbeanServer.shutdown()

      System.out.println("main thread sleep ... ");

  
      Thread.sleep(30000);
     
      server.shutdown(true, false);

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

Examples of com.barchart.feed.api.Marketplace.shutdown()

    for(int i = 2; i < args.length; i++) {
      myAgent.include(args[i]);
    }

    System.in.read();
    feed.shutdown();
    System.exit(0);

  }

}
View Full Code Here

Examples of com.barchart.feed.client.provider.BarchartFeedReceiver.shutdown()

    }

    client.addAllMarketsTaker(TakerFactory.makeTaker(instruments));

    System.in.read();
    client.shutdown();
    System.exit(0);

  }

  private static class TakerFactory {
View Full Code Here

Examples of com.barchart.feed.client.provider.BarchartMarketplace.shutdown()

    for(int i = 2; i < args.length; i++) {
      myAgent.include(args[i]);
    }

    System.in.read();
    feed.shutdown();
    System.exit(0);

  }

}
View Full Code Here

Examples of com.basho.riak.client.core.RiakCluster.shutdown()

        ping.await();
       
        assertFalse(ping.isSuccess());
        assertNotNull(ping.cause());
       
        cluster.shutdown();
       
    }
}
View Full Code Here

Examples of com.btmatthews.maven.plugins.inmemdb.Database.shutdown()

   *             If there was an error executing the goal.
   */
  public void execute() throws MojoFailureException {
    final Database database = getDatabase();
    if (database != null) {
      database.shutdown(this);
    }
  }
}
View Full Code Here

Examples of com.btoddb.fastpersitentqueue.Fpq.shutdown()

            System.out.println("journals created = " + queue.getJournalsCreated());
            System.out.println("journals removed = " + queue.getJournalsRemoved());
        }
        finally {
            if (null != queue) {
                queue.shutdown();
            }
//            FileUtils.deleteDirectory(theDir);
        }
    }
}
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.