Examples of stop()


Examples of org.apache.derby.iapi.services.daemon.DaemonService.stop()

    if (rawStoreFactory != null)
    {
      DaemonService rawStoreDaemon = rawStoreFactory.getDaemon();
      if (rawStoreDaemon != null)
        rawStoreDaemon.stop();
    }

    long shutdownTime = System.currentTimeMillis();
    logMsg("\n" + CheapDateFormatter.formatDate(shutdownTime) +
                MessageService.getTextMessage(
View Full Code Here

Examples of org.apache.derbyTesting.perf.clients.BackToBackLoadGenerator.stop()

        Thread.sleep(1000L * warmupSec);
        println("entering steady state...");
        gen.startSteadyState();
        Thread.sleep(1000L * steadySec);
        println("stopping threads...");
        gen.stop();
        // Should get the printstream used by the test harness here.
        gen.printReport(System.out);
    }

    /**
 
View Full Code Here

Examples of org.apache.derbyTesting.perf.clients.LoadGenerator.stop()

        Thread.sleep(1000L * warmupSec);
        println("entering steady state...");
        gen.startSteadyState();
        Thread.sleep(1000L * steadySec);
        println("stopping threads...");
        gen.stop();
        // Should get the printstream used by the test harness here.
        gen.printReport(System.out);
    }

    /**
 
View Full Code Here

Examples of org.apache.directmemory.measures.MonitorService.stop()

            long split = stopWatch.start();
            final byte[] array = serializer.serialize( pojo );
            stopWatch.stop( split );
            long split2 = stopWatch2.start();
            DummyPojo check = serializer.deserialize( array, pojo.getClass() );
            stopWatch2.stop( split2 );
            assertNotNull( "object has not been serialized", check );
            assertEquals( pojo.name, check.name );
        }
    }
View Full Code Here

Examples of org.apache.directory.server.kerberos.kdc.KdcServer.stop()

        assertEquals( "apache.org", config.getPrimaryRealm() );
        assertEquals( "krbtgt/apache.org@apache.org", config.getServicePrincipal().getName() );
        assertEquals( 1000, config.getMaximumTicketLifetime() );
        assertEquals( 2000, config.getMaximumRenewableLifetime() );
       
        server.stop();
        directoryService.shutdown();

        FileUtils.deleteDirectory( directoryService.getInstanceLayout().getInstanceDirectory() );
    }
}
View Full Code Here

Examples of org.apache.directory.server.ldap.LdapServer.stop()

                        base.evaluate();
                    }
                    finally
                    {
                        LOG.trace( "Stopping ldap server" );
                        ldapServer.stop();
                    }
                }
            };
        }
    }
View Full Code Here

Examples of org.apache.directory.server.ldap.replication.ReplicationConsumer.stop()

       
        ReplicationConsumer consumer = createConsumer();
       
        // We should have 1000 entries plus the base entry = 1001
        assertTrue( waitForSyncReplClient( consumer, 1001 ) );
        consumer.stop();
       
        System.out.println( "\n<-- Done" );
    }
   
   
View Full Code Here

Examples of org.apache.directory.server.ldap.replication.consumer.ReplicationConsumer.stop()

        ReplicationConsumer consumer = createConsumer();

        // We should have 1000 entries plus the base entry = TOTAL_COUNT
        assertTrue( waitForSyncReplClient( consumer, TOTAL_COUNT ) );
        consumer.stop();

        //System.out.println( "\n<-- Done" );
    }

View Full Code Here

Examples of org.apache.directory.studio.ldapservers.model.LdapServerAdapter.stop()

            LdapServerAdapter ldapServerAdapter = ldapServerAdapterExtension.getInstance();
            if ( ldapServerAdapter != null )
            {
                try
                {
                    ldapServerAdapter.stop( server, monitor );
                }
                catch ( Exception e )
                {
                    // Setting the server as started
                    server.setStatus( LdapServerStatus.STARTED );
View Full Code Here

Examples of org.apache.drill.exec.physical.impl.SimpleRootExec.stop()

        SimpleRootExec exec = new SimpleRootExec(ImplCreator.getExec(context, (FragmentRoot) plan.getSortedOperators(false).iterator().next()));

        while(exec.next()) {
        }

        exec.stop();

        if(context.getFailureCause() != null){
            throw context.getFailureCause();
        }
        assertTrue(!context.isFailed());
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.