Examples of shutdown()


Examples of net.sf.agentopia.platform.IAgentopiaConnection.shutDown()

        int intFlag = comm.readInt();
        if (AgentopiaConstants.HEADER_AGENT != intFlag) {
            throw new IOException("HEADER_AGENT flag expected as affirmation.");
        }
        comm.transferMe(agent);
        comm.shutDown();
        agent.shutDown();
    }

    /**
     * @see java.lang.Thread#toString()
View Full Code Here

Examples of net.sf.collabreview.importing.Importer.shutdown()

      try {
        Thread.sleep(10);
      } catch (InterruptedException e) {
      }
    }
    importer.shutdown();
    for (ImportProgressInfo ipi : ipis) {
      logger.debug(ipi);
    }
    logger.info("The repository contains " + collabReview.getRepository().listAllArtifacts().size()
        + " artifacts, out of which " + collabReview.getRepository().listNonObsoleteArtifacts(null).size()
View Full Code Here

Examples of net.sf.ehcache.CacheManager.shutdown()

        }
        finally
        {
            if ( cacheManager != null )
            {
                cacheManager.shutdown();
            }
        }
    }
}
View Full Code Here

Examples of net.sf.ehcache.util.counter.sampled.SampledCounter.shutdown()

     * {@inheritDoc}
     */
    public void shutdownCounter(Counter counter) {
        if (counter instanceof SampledCounter) {
            SampledCounter sc = (SampledCounter) counter;
            sc.shutdown();
        }
    }

}
View Full Code Here

Examples of net.sf.jdistunit.platform.HostEnvironment.shutDown()

        // Test server count.
        final int testServerCount = box.getTestServerCount();
        assertEquals(2, testServerCount);

        // Shut down box and environment.
        env.shutDown();
        box.shutdown();

        // Wait for ports to be freed.
        OS.sleep(500);
    }
View Full Code Here

Examples of net.sf.jdistunit.platform.agent.ITestBox.shutdown()

        final int testServerCount = box.getTestServerCount();
        assertEquals(2, testServerCount);

        // Shut down box and environment.
        env.shutDown();
        box.shutdown();

        // Wait for ports to be freed.
        OS.sleep(500);
    }
View Full Code Here

Examples of net.sf.jdistunit.platform.agent.TestBox.shutdown()

        final int testServerCount = box.getTestServerCount();
        assertEquals(2, testServerCount);

        // Shut down box and environment.
        env.shutDown();
        box.shutdown();

        // Wait for ports to be freed.
        OS.sleep(500);
    }
View Full Code Here

Examples of net.sf.katta.node.Node.shutdown()

    // now fix the node connection
    gateway.start();
    TestUtil.waitUntilNumberOfLiveNode(_protocol, 1);

    // cleanup
    node.shutdown();
    master.shutdown();
    zkGatewayClient.close();
    gateway.stop();
  }
View Full Code Here

Examples of net.spy.memcached.MemcachedClient.shutdown()

      for (int j = 0; j < BYTES.length; j++) {
        int repeats = getReapts(i);
        test(memcachedClient, BYTES[j], THREADS[i], repeats, true);
      }
    }
    memcachedClient.shutdown();

  }

  private static void warmUp(MemcachedClient memcachedClient)
      throws Exception {
View Full Code Here

Examples of net.tomp2p.connection.ChannelCreator.shutdown()

            }
        } catch (Throwable t) {
            t.printStackTrace();
        } finally {
            if (cc != null) {
                cc.shutdown().await();
            }
            if (sender != null) {
                sender.shutdown().await();
            }
            if (recv1 != null) {
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.