Examples of stop()


Examples of org.apache.mesos.SchedulerDriver.stop()

    @Override
    public synchronized void stop() {
      if (stateMachine.getState() == State.RUNNING) {
        SchedulerDriver driver = get(State.RUNNING);
        driver.stop(true /* failover */);
        stateMachine.transition(State.STOPPED);
      }
    }

    @Override
View Full Code Here

Examples of org.apache.mina.io.filter.IoThreadPoolFilter.stop()

        while( session.isConnected() )
        {
            Thread.sleep( 100 );
        }

        ioThreadPoolFilter.stop();
        protocolThreadPoolFilter.stop();
    }
}
View Full Code Here

Examples of org.apache.mina.protocol.filter.ProtocolThreadPoolFilter.stop()

        {
            Thread.sleep( 100 );
        }

        ioThreadPoolFilter.stop();
        protocolThreadPoolFilter.stop();
    }
}
View Full Code Here

Examples of org.apache.muse.test.http.remote.HttpServerClient.stop()

                System.out.println("\t" + httpLang[n]);
           
            //
            // stop server
            //
            http.stop();
        }
       
        catch (Throwable error)
        {
            error.printStackTrace();
View Full Code Here

Examples of org.apache.naming.NamingService.stop()

        
         System.out.println("================JNDI CONTENT START=============");
         JndiDumper.scanContext(null, context, System.out);
         System.out.println("================JNDI CONTENT END  =============");

         if (namingService != null) namingService.stop();
      }
      catch (Exception ex) {
         ex.getMessage();
         ex.printStackTrace();
      }
View Full Code Here

Examples of org.apache.niolex.commons.test.StopWatch.Stop.stop()

                map.put(j, j % 2 == 0);
            }
            for (int j = 0; j < 10000; ++j) {
                Check.isTrue(map.get(j).booleanValue() == (j % 2 == 0));
            }
            s.stop();
        }
        w.done();
        w.print();
        // --
        w.begin(true);
View Full Code Here

Examples of org.apache.onami.persist.PersistenceService.stop()

        {
            doTestNestedTransaction( testVector, injector.getInstance( TransactionalWorker.class ) );
        }
        finally
        {
            persistService.stop();
        }

    }

    private PersistenceModule createPersistenceModuleForTest()
View Full Code Here

Examples of org.apache.oodt.cas.workflow.engine.IterativeWorkflowProcessorThread.stop()

                            + workflowInstId + ", however, this engine is "
                            + "not tracking its execution");
            return;
        }

        worker.stop();
    }

    /*
     * (non-Javadoc)
     *
 
View Full Code Here

Examples of org.apache.oozie.test.EmbeddedServletContainer.stop()

            assertEquals("show=log&allservers=false", DummyLogStreamingServlet.lastQueryString);

            // If we stop the container but leave the DummyZKOozie running, it will simulate if that server is down but still has
            // info in ZK; we should be able to get the logs from other servers (in this case, this server) and a message about
            // which servers it couldn't reach
            container.stop();
            out = doStreamLog(xf);
            outArr = out.split("\n");
            assertEquals(6, outArr.length);
            assertTrue(outArr[0].startsWith("Unable"));
            assertEquals("9876", outArr[1].trim());
View Full Code Here

Examples of org.apache.openejb.Container.stop()

        // stop
        for (BeanContext deployment : deployments) {
            String deploymentID = deployment.getDeploymentID() + "";
            try {
                Container container = deployment.getContainer();
                container.stop(deployment);
            } catch (Throwable t) {
                undeployException.getCauses().add(new Exception("bean: " + deploymentID + ": " + t.getMessage(), t));
            }
        }
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.