Examples of shutDown()


Examples of org.quartz.spi.ThreadPool.shutdown()

        }
        catch(SchedulerException e) {
            if(qsInited)
                qs.shutdown(false);
            else if(tpInited)
                tp.shutdown(false);
            throw e;
        }
        catch(RuntimeException re) {
            if(qsInited)
                qs.shutdown(false);
View Full Code Here

Examples of org.quartz.utils.counter.sampled.SampledCounter.shutdown()

     * {@inheritDoc}
     */
    public void shutdownCounter(Counter counter) {
        if (counter instanceof SampledCounter) {
            SampledCounter sc = (SampledCounter) counter;
            sc.shutdown();
        }
    }

}
View Full Code Here

Examples of org.red5.server.persistence.FilePersistenceThread.shutdown()

        // shutdown jmx
        JMXAgent.shutdown();
        // shutdown the persistence thread
        FilePersistenceThread persistenceThread = FilePersistenceThread.getInstance();
        if (persistenceThread != null) {
          persistenceThread.shutdown();
        }
        // shutdown spring
        Object attr = ctx.getAttribute(WebApplicationContext.ROOT_WEB_APPLICATION_CONTEXT_ATTRIBUTE);
        if (attr != null) {
          // get web application context from the servlet context
View Full Code Here

Examples of org.rhq.cassandra.schema.SchemaManager.shutdown()

        } catch (NoHostAvailableException e) {
            throw e;
        } catch (Exception e) {
            throw new RuntimeException(e.getMessage(), e);
        } finally {
            schemaManager.shutdown();
        }
    }

    public synchronized void shutdown() {
        LOG.info("Shutting down storage client subsystem");
View Full Code Here

Examples of org.rhq.core.pc.PluginContainer.shutdown()

    boolean stopPc() {
        LOG.debug("Stopping PluginContainer on demand...");
        PluginContainer pc = PluginContainer.getInstance();
        boolean wasStarted = pc.isStarted();
        if (wasStarted) {
            boolean shutdownGracefully = pc.shutdown();
            if (shutdownGracefully) {
                LOG.debug("Stopped PluginContainer gracefully.");
            } else {
                LOG.debug("Stopped PluginContainer.");
            }
View Full Code Here

Examples of org.rhq.core.pluginapi.plugin.PluginLifecycleListener.shutdown()

                try {
                    ClassLoader originalCL = Thread.currentThread().getContextClassLoader();
                    Thread.currentThread().setContextClassLoader(
                        this.classLoaderManager.obtainPluginClassLoader(plugin.getName()));
                    try {
                        listener.shutdown();
                    } finally {
                        Thread.currentThread().setContextClassLoader(originalCL);
                    }
                } catch (Throwable t) {
                    log.warn("Failed to get lifecycle listener to shutdown [" + plugin.getName() + "]. Cause: "
View Full Code Here

Examples of org.rhq.enterprise.communications.ServiceContainer.shutdown()

            if (sender != null) {
                sender.stopSending(false);
            }

            sc.shutdown();
        }
    }

    /**
     * This tests shows that we can define a timeout and see the concurrency limitation feature abort after the timeout
View Full Code Here

Examples of org.rssowl.ui.internal.services.SyncItemsManager.shutdown()

  public void setUp() throws Exception {
    ((PersistenceServiceImpl) Owl.getPersistenceService()).recreateSchemaForTests();
    SyncItemsManager manager = new SyncItemsManager();
    manager.startup();
    manager.clearUncommittedItems();
    manager.shutdown();
  }

  /**
   * @throws Exception
   */
 
View Full Code Here

Examples of org.scale7.cassandra.pelops.pool.DebuggingPool.shutdown()

            }
        }

        assertTrue("There should be one deletion", isOneDeletion);

        pool.shutdown();
    }

    /**
     * Tests that a write replaces previous values and that the appropriate columns are deleted when null values are set
     * on the columns.
View Full Code Here

Examples of org.scale7.cassandra.pelops.pool.IThriftPool.shutdown()

     */
    public static void removePool(String poolName) {
        logger.info("Pelops removes pool {}", poolName);
        IThriftPool pool = poolMap.remove(poolName);
        if (pool != null) // avoid null pointers
            pool.shutdown();
    }

  /**
   * Shutdown Pelops. This proceeds by shutting down all connection pools.
   */
 
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.