@Override public void contextDestroyed(ServletContextEvent sce) { // DataAccessPointRegistry.get().forEach((key, dap) -> { // ?? // }) ; // But in flight-transactions? StoreConnection.reset(); }
/** * Release any and all system resources held by TDB. This does NOT close or * release datasets or graphs held by client code. */ public static void closedown() { StoreConnection.reset() ; }
@Override public void contextDestroyed(ServletContextEvent sce) { // DataAccessPointRegistry.get().forEach((key, dap) -> { // ?? // }) ; // But in flight-transactions? StoreConnection.reset(); }
/** * Reset the making and caching of datasets. * Applications should not use this operation. * All dataset must be rebuild with {@link TDBFactory} * after calling this operation. * Use {@link TDBFactory#release(DatasetGraph)} with care. * @deprecated */ @Deprecated public static void reset() { StoreConnection.reset() ; }
@Before public void before() { StoreConnection.reset() ; }
@Before public void before() { StoreConnection.reset() ; }
@Before public void before() { StoreConnection.reset() ; DIR = ConfigTest.getCleanDir() ; File d = new File(DIR) ; }
@Before public void before() { StoreConnection.reset() ; DIR = ConfigTest.getCleanDir() ; File d = new File(DIR) ; }
@Before public void before() { StoreConnection.reset() ; FileOps.clearDirectory(dirDB) ; }
@Before public void before() { StoreConnection.reset(); FileOps.clearDirectory(DIR); }
@Before public void before() { StoreConnection.reset() ; DIR = ConfigTest.getCleanDir() ; }
@Before public void before() { StoreConnection.reset() ; FileOps.clearDirectory(dirDB) ; }
@Before public void before() { StoreConnection.reset() ; DIR = ConfigTest.getCleanDir() ; }
@AfterClass static public void afterClass() { StoreConnection.reset() ; FileOps.clearDirectory(dirDB) ; }
@Before public void before() { StoreConnection.reset(); FileOps.clearDirectory(DIR); }
@AfterClass static public void afterClass() { StoreConnection.reset() ; FileOps.clearDirectory(dirDB) ; }
@Before public void before() { String dirname = ConfigTest.getCleanDir() ; StoreConnection.reset() ; graphLocation = new GraphLocation(Location.create(dirname)) ; graphLocation.createDataset() ; }
@Before public void before() { String dirname = ConfigTest.getCleanDir() ; StoreConnection.reset() ; graphLocation = new GraphLocation(Location.create(dirname)) ; graphLocation.createDataset() ; }
@BeforeClass public static void beforeClass() { StoreConnection.reset() ; graphLocation = new GraphLocation(Location.create(ConfigTest.getCleanDir())) ; graphLocation.release() ; graphLocation.clearDirectory() ; graphLocation.createGraph() ; graph = graphLocation.getGraph() ; } // ----------
@BeforeClass public static void beforeClass() { StoreConnection.reset() ; graphLocation = new GraphLocation(Location.create(ConfigTest.getCleanDir())) ; graphLocation.release() ; graphLocation.clearDirectory() ; graphLocation.createGraph() ; graph = graphLocation.getGraph() ; } // ----------