Search in sources :

Example 1 with Deconstructor

use of com.yahoo.container.jdisc.component.Deconstructor in project vespa by vespa-engine.

the class ConfiguredApplication method stop.

@Override
public void stop() {
    startShutdownDeadlineExecutor();
    shutdownReconfigurerThread();
    configurer.shutdown(new Deconstructor(false));
    for (ServerProvider server : Container.get().getServerProviderRegistry().allComponents()) {
        if (startedServers.contains(server)) {
            closeServer(server);
        }
    }
    Container.get().shutdown();
}
Also used : ServerProvider(com.yahoo.jdisc.service.ServerProvider) Deconstructor(com.yahoo.container.jdisc.component.Deconstructor)

Aggregations

Deconstructor (com.yahoo.container.jdisc.component.Deconstructor)1 ServerProvider (com.yahoo.jdisc.service.ServerProvider)1