Examples of shutdown()


Examples of org.openrdf.sail.memory.MemoryStore.shutDown()

    else if ("RDFS-VP".equals(entailment)) {
      sail = new ForwardChainingRDFSInferencer(sail);
      sail = new DirectTypeHierarchyInferencer(sail);
    }
    else {
      sail.shutDown();
      fail("Invalid value for entailment level:" + entailment);
    }

    Repository dataRep = new SailRepository(sail);
    dataRep.initialize();
View Full Code Here

Examples of org.openrdf.sail.nativerdf.NativeStore.shutDown()

                stressTest(p, 1000);
            } finally {
                store.shutDown();
            }
        } finally {
            sail.shutDown();
        }
    }

    // Over the LAN: 6 t/s
    // Locally: 7 t/s
View Full Code Here

Examples of org.ops4j.exec.DefaultJavaRunner.shutdown()

        catch (IOException exc) {
            getLog().info("exception communicating with background process, terminating process");
            getLog().info(exc);
        }
       
        javaRunner.shutdown();
    }
}
View Full Code Here

Examples of org.parosproxy.paros.control.Control.shutdown()

      } catch (Exception e) {
          log.error(e.getMessage());
          System.out.println(e.getMessage());
          rc = 1;
      } finally {
            control.shutdown(false);
          log.info(Constant.PROGRAM_TITLE + " terminated.");
      }
      System.exit(rc);
  }
 
View Full Code Here

Examples of org.pentaho.platform.api.engine.IPentahoSystemListener.shutdown()

    IPentahoSystemListener listener = (IPentahoSystemListener) pluginAdapter;

    assertTrue( listener.startup( session ) );

    // this does not do anything but it shouldn't error
    listener.shutdown();
  }
}
View Full Code Here

Examples of org.prevayler.cluster.Node.shutdown()

  public void testFindNodes() throws Exception {
    assertEquals(1, node.getNumberOfNodesInCluster());
    Node node2 = createNodeAndWait();
    assertEquals(2, node.getNumberOfNodesInCluster());
    node2.shutdown();
    assertEquals(1, node.getNumberOfNodesInCluster());
  }

  public void testAssignMaster() throws Exception {
    assertEquals(node.getAddress(), node.getMasterAddress());
View Full Code Here

Examples of org.productivity.java.syslog4j.server.SyslogServerIF.shutdown()

            MatcherAssert.assertThat(
                messages.poll(1, TimeUnit.MINUTES),
                Matchers.containsString(String.format("from %s", path))
            );
        } finally {
            server.shutdown();
            exec.shutdown();
        }
    }

    /**
 
View Full Code Here

Examples of org.quartz.Scheduler.shutdown()

    public static void shutdown() {

        Scheduler scheduler = SystemInstance.get().getComponent(Scheduler.class);
        if (scheduler != null) try {
            scheduler.shutdown();
        } catch (SchedulerException e) {
            throw new OpenEJBRuntimeException("Unable to shutdown scheduler", e);
        }

    }
View Full Code Here

Examples of org.quartz.core.QuartzScheduler.shutdown()

            schedRep.bind(scheduler);
            return scheduler;
        }
        catch(SchedulerException e) {
            if(qsInited)
                qs.shutdown(false);
            else if(tpInited)
                tp.shutdown(false);
            throw e;
        }
        catch(RuntimeException re) {
View Full Code Here

Examples of org.quartz.spi.SchedulerPlugin.shutdown()

   
    private void shutdownPlugins() {
        java.util.Iterator itr = resources.getSchedulerPlugins().iterator();
        while (itr.hasNext()) {
            SchedulerPlugin plugin = (SchedulerPlugin) itr.next();
            plugin.shutdown();
        }
    }

    private void startPlugins() {
        java.util.Iterator itr = resources.getSchedulerPlugins().iterator();
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.