Examples of stop()


Examples of org.jscsi.scsi.lu.LogicalUnit.stop()

   }

   public synchronized LogicalUnit removeLogicalUnit(long id)
   {
      LogicalUnit discardedLU = logicalUnitMap.remove(id);
      discardedLU.stop();
      if (_logger.isDebugEnabled())
         _logger.debug("removing logical unit: " + discardedLU);
      return discardedLU;
   }
View Full Code Here

Examples of org.jugile.util.Timer.stop()

  public String stats() {
    Stats st = new Stats(classes());
    Timer t = new Timer();
    cd().stats(st);
    return st.toString() + "\n stats took ms: " + t.stop();
  }
 
 
  // ========= utils =============
 
View Full Code Here

Examples of org.kitesdk.minicluster.MiniCluster.stop()

    final CountDownLatch doneSignal = new CountDownLatch(1);
    Thread exitThread = new Thread() {
      @Override
      public void run() {
        try {
          miniCluster.stop();
        } catch (Throwable e) {
          console.error("Error stopping mini cluster. Exiting anyways...", e);
        }
        doneSignal.countDown();
      }
View Full Code Here

Examples of org.knopflerfish.bundle.desktop.swing.fwspin.Spin.stop()

  public void close() {
    super.close();
    for(Iterator it = spins.iterator(); it.hasNext();) {
      Spin spin = (Spin)it.next();
      spin.stop();
    }
    spins.clear();
  }
}
View Full Code Here

Examples of org.lealone.hbase.server.HBasePgServer.stop()

        try {
            super.run();
        } finally {
            server.stop();
            if (pgServer != null)
                pgServer.stop();
        }
    }
}
View Full Code Here

Examples of org.lealone.hbase.server.HBaseTcpServer.stop()

        }

        try {
            super.run();
        } finally {
            server.stop();
            if (pgServer != null)
                pgServer.stop();
        }
    }
}
View Full Code Here

Examples of org.lilyproject.lilyservertestfw.LilyProxy.stop()

        assertEquals(3 * 3, chains.size());

        // Check that if we ask the same table twice, we get the same instance (verifies cache works)
        assertTrue(client.getRepository("repo1").getTable("table1") == client.getRepository("repo1").getTable("table1"));

        lilyProxy.stop();

        // Check each of the decorators was properly closed
        assertEquals(9, TestRepositoryDecoratorFactory.CLOSE_COUNT.get());
    }

View Full Code Here

Examples of org.lilyproject.runtime.LilyRuntime.stop()

            printStartedMessage();
        } catch (Throwable e) {
            e.printStackTrace();
            System.err.println("Startup failed. Will try to shutdown and exit.");
            try {
                runtime.stop();
            } finally {
                System.exit(1);
            }
        }
View Full Code Here

Examples of org.lilyproject.solrtestfw.SolrProxy.stop()

        testSolrCore("core0", 200);
        testSolrCore("core1", 200);
        testSolrCore("core2", 200);
        testSolrCore("core3", 404);

        solr.stop();
    }

    @Test
    public void testNoCore0() throws Exception {
        SolrProxy solr = new SolrProxy();
View Full Code Here

Examples of org.littleshoot.proxy.DefaultHttpProxyServer.stop()

        File file = new File(FTP_ROOT_DIR + "/hello.txt");
        assertTrue("File should exist: " + file, file.exists());
        assertEquals("Hello World", context.getTypeConverter().convertTo(String.class, file));
       
        proxyServer.stop();
    }

    @Test
    public void testSftpSimpleSubPathProduceThroughProxy() throws Exception {
        if (!canTest()) {
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.