Examples of shutdown()


Examples of eu.stratosphere.nephele.jobmanager.JobManager.shutdown()

        LOG.info("Diagnostics "+status.getDiagnostics());
      }
      Thread.sleep(5000);
    }
    LOG.info("Shutting down JobManager");
    jm.shutdown();
   
    // Un-register with ResourceManager
    rmClient.unregisterApplicationMaster(FinalApplicationStatus.SUCCEEDED, "", "");
   
   
View Full Code Here

Examples of eu.stratosphere.nephele.services.memorymanager.MemoryManager.shutdown()

    // last, verify all memory is returned and shutdown mem manager
    MemoryManager memMan = getMemoryManager();
    if (memMan != null) {
      Assert.assertTrue("Memory Manager managed memory was not completely freed.", memMan.verifyEmpty());
      memMan.shutdown();
    }
  }
 
  // --------------------------------------------------------------------------------------------
 
View Full Code Here

Examples of fi.jumi.core.ipc.IpcCommandSender.shutdown()

        // XXX: routing the commands through IPC to make sure that IPC works
        try {
            CommandDir commandDir = daemonDir.createCommandDir();
            IpcCommandSender sender = new IpcCommandSender(commandDir, executor);
            sender.shutdown();
            sender.close();

        } catch (IOException e) {
            e.printStackTrace();
            throw new RuntimeException(e);
View Full Code Here

Examples of freenet.support.MemoryLimitedJobRunner.shutdown()

                        memoryLimitedJobRunner, jobRunner, ticker, keys, fg, persistentFileTracker, null);
                assertEquals(i, countEncodedCrossSegments(resumed));
                resumed.start();
                // The memoryLimitedJobRunner will only encode one segment at a time.
                // Wait for it to encode one segment.
                memoryLimitedJobRunner.shutdown();
                memoryLimitedJobRunner.waitForShutdown();
                executor.waitForIdle();
                assertEquals(i+1, countEncodedCrossSegments(resumed));
            }
        }
View Full Code Here

Examples of gnu.classpath.jdwp.Jdwp.shutdown()

                while (up()) {
                    Jdwp jdwp = new Jdwp();
                    jdwp.configure(ps);
                    jdwp.run();
                    jdwp.waitToFinish();
                    jdwp.shutdown();
                }
                // workaround for the restricted capabilities of JDWP support in GNU Classpath.
                JNodeSocketTransport.ServerSocketHolder.close();
            }
        });
View Full Code Here

Examples of groovyx.gpars.group.DefaultPGroup.shutdown()

                lastActor.send("Hi");
            }

            cdl.await(1000, TimeUnit.SECONDS);

            group.shutdown();
            final long t2 = System.currentTimeMillis();
            System.out.println("Time to process " + latchCount + " messages: " + (t2 - t1) + " ms");
            assertEquals("Latch has not been decreased to 0", 0, cdl.getCount());
        }
View Full Code Here

Examples of groovyx.gpars.group.PGroup.shutdown()

                lastActor.send("Hi");
            }

            cdl.await(1000, TimeUnit.SECONDS);

            group.shutdown();
            final long t2 = System.currentTimeMillis();
            System.out.println("Time to process " + latchCount + " messages: " + (t2 - t1) + " ms");
            assertEquals("Latch has not been decreased to 0", 0, cdl.getCount());
        }
View Full Code Here

Examples of hudson.plugins.libvirt.lib.IDomain.shutdown()

                        if (slave.getShutdownMethod().equals("suspend")) {
                            domain.suspend();
                        } else if (slave.getShutdownMethod().equals("destroy")) {
                            domain.destroy();
                        } else {
                      domain.shutdown();
                    }
                    }
                } else {
                    taskListener.getLogger().println("Already suspended, no shutdown required.");
                }
View Full Code Here

Examples of io.crate.http.HttpTestServer.shutDown()

            assertThat(map, hasKey("crate_version"));
            assertThat(map.get("crate_version"), is(notNullValue()));
            assertThat(map, hasKey("java_version"));
            assertThat(map.get("java_version"), is(notNullValue()));
        }
        testServer.shutDown();
    }

    @Test
    public void testUnsuccessfulPingTaskRun() throws Exception {
        HttpTestServer testServer = new HttpTestServer(18081, true);
View Full Code Here

Examples of io.lumify.core.model.systemNotification.SystemNotificationRepository.shutdown()

            }

            LOGGER.info("shutdown: Graph");
            if (InjectHelper.hasInjector()) {
                SystemNotificationRepository systemNotificationRepository = InjectHelper.getInstance(SystemNotificationRepository.class);
                systemNotificationRepository.shutdown();
            }

            LOGGER.info("shutdown: Graph");
            if (InjectHelper.hasInjector()) {
                Graph graph = InjectHelper.getInstance(Graph.class);
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.