Examples of shutdown()


Examples of org.apache.solr.client.solrj.impl.HttpSolrServer.shutdown()

                } catch (IOException e) {
                  req.e = e;
                  return req;
                }
              } finally {
                server.shutdown();
              }
              return req;
            }
          };
          pending.add(completionService.submit(task));
View Full Code Here

Examples of org.apache.solr.core.CoreContainer.shutdown()

                    throw new TapException("No sink field name for required Solr field: " + solrFieldname);
                }
            }
        } finally {
            if (coreContainer != null) {
                coreContainer.shutdown();
            }
        }
    }
}
View Full Code Here

Examples of org.apache.stratos.cloud.controller.concurrent.ThreadExecutor.shutdown()

      // create Jclouds objects, for each IaaS
      for (Cartridge cartridge : cartridges) {
        // jclouds object building is time consuming, hence I use Java executor framework
        exec.execute(new JcloudsObjectBuilder(cartridge, deploymentFileData));
      }
      exec.shutdown();
      // update map
      fileToCartridgeListMap.put(deploymentFileData.getAbsolutePath(),
                                 new ArrayList<Cartridge>(cartridges));

      log.info("Successfully deployed the Cartridge definition specified at "+deploymentFileData.getAbsolutePath());
View Full Code Here

Examples of org.apache.stratum.jcs.auxiliary.remote.behavior.IRemoteCacheServiceAdmin.shutdown()

                log.debug( "obj = " + obj );
                IRemoteCacheServiceAdmin admin = ( IRemoteCacheServiceAdmin ) obj;

                try
                {
                    admin.shutdown( "", port );
                }
                catch ( Exception er )
                {
                    // ignore the error
                    // the connection will be closed by the server
View Full Code Here

Examples of org.apache.stratum.jcs.engine.behavior.ICacheServiceAdmin.shutdown()

                log.debug( "server found" );
            }
            ICacheServiceAdmin admin = ( ICacheServiceAdmin ) obj;
            try
            {
                admin.shutdown();
            }
            catch ( Exception ex )
            {
                log.error( ex );
            }
View Full Code Here

Examples of org.apache.tapestry.ioc.Registry.shutdown()

        assertTrue(StartupModule._startupInvoked);

        // Ideally we'd have a way to show that the PerthreadManager was notified after
        // RegistryStartup did its thing, but ...

        r.shutdown();
    }
}
View Full Code Here

Examples of org.apache.tapestry5.ioc.Registry.shutdown()

        pa.set(b, "value", value);

        assertEquals(b.getValue(), value);

        registry.shutdown();
    }

    @Test
    public void super_interface_methods_inherited_by_sub_interface()
    {
View Full Code Here

Examples of org.apache.tapestry5.test.PageTester.shutdown()

      PageTester tester = new PageTester(TestConstants.APP2_PACKAGE, TestConstants.APP2_NAME);
      try {
          Document doc = tester.renderPage("OverrideAbstractMethods");
          assertEquals("6", doc.getElementById("length").getChildMarkup());
      } finally {
        tester.shutdown();
      }
    }

}
View Full Code Here

Examples of org.apache.texen.Generator.shutdown()

            }

            writer.write(generator.parse(controlTemplate, c));
            writer.flush();
            writer.close();
            generator.shutdown();
            cleanup();
        }
        catch( BuildException e)
        {
            throw e;
View Full Code Here

Examples of org.apache.tomcat.core.ContextManager.shutdown()

          req.getContextManager().log("Attempt to stop with the wrong secret");
          return;
            }
        }
                                ContextManager cm=req.getContextManager();
        cm.shutdown();
        cm.log("Exiting" );
        // same behavior as in past, because it seems
        // that stopping everything doesn't work -
        // need to figure
        // out what happens with the threads ( XXX )
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.