コード例 #1
0
ファイル: IntroDocTest.java プロジェクト: nikulukani/neo4j
 @AfterClass
 public static void shutdown() {
   try {
     if (graphdb != null) graphdb.shutdown();
   } finally {
     graphdb = null;
   }
 }
コード例 #2
0
 @After
 public void stopDb() {
   if (tx != null) {
     tx.finish();
   }
   if (graphDb != null) {
     graphDb.shutdown();
   }
   tx = null;
   config = null;
   graphDb = null;
 }
コード例 #3
0
 @After
 public void tearDown() throws Exception {
   gdb.shutdown();
 }
コード例 #4
0
ファイル: TransactionSoakIT.java プロジェクト: freeeve/neo4j
 @After
 public void doAfter() throws Exception {
   server.shutdown();
   db.shutdown();
 }