Examples of stop()


Examples of com.elevenware.redcorn.lifecycle.Lifecycle.stop()

    @Override
    public void stop() {
        for(BeanDefinition definition: context.values()) {
            if (Lifecycle.class.isAssignableFrom(definition.getType())) {
                Lifecycle lifecycle = (Lifecycle) definition.getPayload();
                lifecycle.stop();
            }
        }
    }

}
View Full Code Here

Examples of com.esotericsoftware.kryonet.Client.stop()

        timer2.schedule(new TimerTask() {
            @Override
            public void run() {
                LOG.log(Level.INFO, "cancel everything");
                timer.cancel();
                client.stop();
                server.stop();
                timer2.cancel();
            }
        }, 2_000);
    }
View Full Code Here

Examples of com.esotericsoftware.kryonet.Server.stop()

            @Override
            public void run() {
                LOG.log(Level.INFO, "cancel everything");
                timer.cancel();
                client.stop();
                server.stop();
                timer2.cancel();
            }
        }, 2_000);
    }
}
View Full Code Here

Examples of com.espertech.esper.util.StopCallback.stop()

                boolean filterSubselectSameStream = determineSubquerySameStream(filterStreamSpec);
                services.getStreamService().dropStream(filterStreamSpec.getFilterSpec(), statementContext.getFilterService(), false,false, true, filterSubselectSameStream);
                String windowName = statementSpec.getCreateWindowDesc().getWindowName();
                services.getNamedWindowService().removeProcessor(windowName);
                if (environmentStopCallback != null) {
                    environmentStopCallback.stop();
                }
            }
        };

        // Attach tail view
View Full Code Here

Examples of com.eviware.soapui.impl.wsdl.mock.WsdlMockRunner.stop()

  {
    try
    {
      WsdlMockRunner mockRunner = mockService.getMockRunner();
      if( mockRunner != null )
        mockRunner.stop();
    }
    catch( Exception e )
    {
      UISupport.showErrorMessage( e );
    }
View Full Code Here

Examples of com.eviware.soapui.model.mock.MockRunner.stop()

    public void perform(MockServiceType mockService, Object param) {
        try {
            MockRunner mockRunner = mockService.getMockRunner();
            if (mockRunner != null) {
                mockRunner.stop();
            }
        } catch (Exception e) {
            UISupport.showErrorMessage(e);
        }
    }
View Full Code Here

Examples of com.facebook.nifty.core.NiftyBootstrap.stop()

        Runtime.getRuntime().addShutdownHook(new Thread()
        {
            @Override
            public void run()
            {
                bootstrap.stop();
            }
        });
    }

    public static class NettyConfigProvider implements Provider<NettyConfigBuilder>
View Full Code Here

Examples of com.facebook.presto.jdbc.internal.guava.base.Stopwatch.stop()

    if (result == null) {
      globalStatsCounter.recordLoadException(stopwatch.elapsed(NANOSECONDS));
      throw new InvalidCacheLoadException(loader + " returned null map from loadAll");
    }

    stopwatch.stop();
    // TODO(fry): batch by segment
    boolean nullsPresent = false;
    for (Map.Entry<K, V> entry : result.entrySet()) {
      K key = entry.getKey();
      V value = entry.getValue();
View Full Code Here

Examples of com.fasterxml.clustermate.service.StartAndStoppable.stop()

        while (--count >= 0) {
            StartAndStoppable managed = _managed.remove(count);
            String desc = managed.getClass().getName();
            try {
                LOG.info("Stopping: {}", desc);
                managed.stop();
            } catch (Exception e) {
                LOG.warn(String.format("Problems trying to stop VManaged of type %s: (%s) %s",
                        desc, e.getClass().getName(), e.getMessage()),
                        e);
            }
View Full Code Here

Examples of com.fasterxml.clustermate.service.VManaged.stop()

        while (--count >= 0) {
            VManaged managed = _managed.remove(count);
            String desc = managed.getClass().getName();
            try {
                LOG.info("Stopping: {}", desc);
                managed.stop();
            } catch (Exception e) {
                LOG.warn(String.format("Problems trying to stop VManaged of type %s: (%s) %s",
                        desc, e.getClass().getName(), e.getMessage()),
                        e);
            }
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.