public void close() { try { fs.close(); fs = null; } catch (Exception e) { // ignore } } }
public void close() { try { fs.close(); fs = null; } catch (Exception e) { // ignore } } }
public void close() { try { fs.close(); fs = null; } catch (Exception e) { // ignore } } }
public void close() { try { fs.close(); fs = null; } catch (Exception e) { // ignore } } }
public void close() { try { fs.close(); fs = null; } catch (Exception e) { // ignore } } }
/** * {@inheritDoc} */ public synchronized void close() throws Exception { if (!initialized) { throw new IllegalStateException("not initialized"); } try { // close BLOB file system blobFS.close(); blobFS = null; blobStore = null; /** * there's no need close the item state store because it * is based in the workspace's file system which is * closed by the repository */ } finally { initialized = false; } }
/** * {@inheritDoc} */ public synchronized void close() throws Exception { if (!initialized) { throw new IllegalStateException("not initialized"); } try { // close BLOB file system blobFS.close(); blobFS = null; blobStore = null; /** * there's no need close the item state store because it * is based in the workspace's file system which is * closed by the repository */ } finally { initialized = false; } }
/** * {@inheritDoc} */ public synchronized void close() throws Exception { if (!initialized) { throw new IllegalStateException("not initialized"); } try { // close BLOB file system blobFS.close(); blobFS = null; blobStore = null; /** * there's no need close the item state store because it * is based in the workspace's file system which is * closed by the repository */ } finally { initialized = false; } }
/** * {@inheritDoc} */ public synchronized void close() throws Exception { if (!initialized) { throw new IllegalStateException("not initialized"); } try { // close BLOB file system blobFS.close(); blobFS = null; blobStore = null; /** * there's no need close the item state store because it * is based in the workspace's file system which is * closed by the repository */ } finally { initialized = false; } }
/** * {@inheritDoc} */ public void close() throws Exception { pMgr.close(); fs.close(); }
public void close() throws IOException { if (fs != null) { try { fs.close(); } catch (FileSystemException e) { throw new IOExceptionWithCause( "Unable to close search index file system: " + fs, e); } } }
public void close() throws IOException { if (fs != null) { try { fs.close(); } catch (FileSystemException e) { throw new IOExceptionWithCause( "Unable to close search index file system: " + fs, e); } } }
/** * {@inheritDoc} */ public void close() throws Exception { pMgr.close(); fs.close(); }
protected void tearDown() throws Exception { fs.close(); }
/** * {@inheritDoc} */ public synchronized void close() throws Exception { if (!initialized) { throw new IllegalStateException("not initialized"); } try { // close blob store blobStore.close(); blobStore = null; itemFs.close(); itemFs = null; super.close(); } finally { initialized = false; } }
/** * {@inheritDoc} */ public synchronized void close() throws Exception { if (!initialized) { throw new IllegalStateException("not initialized"); } try { if (persistent) { // serialize contents of state and refs stores storeContents(); } else if (useFileBlobStore) { blobFS.close(); // not persistent, clear out blobs wspFS.deleteFolder("blobs"); } } finally { initialized = false; } }
/** * {@inheritDoc} */ public synchronized void close() throws Exception { if (!initialized) { throw new IllegalStateException("not initialized"); } try { // close blob store blobStore.close(); blobStore = null; itemFs.close(); itemFs = null; super.close(); } finally { initialized = false; } }
/** * {@inheritDoc} */ public synchronized void close() throws Exception { if (!initialized) { throw new IllegalStateException("not initialized"); } try { if (persistent) { // serialize contents of state and refs stores storeContents(); } else if (useFileBlobStore) { blobFS.close(); // not persistent, clear out blobs wspFS.deleteFolder("blobs"); } } finally { initialized = false; } }
/** * Closes this <code>QueryHandler</code> and frees resources attached * to this handler. */ public void close() throws IOException { if (synonymProviderConfigFs != null) { try { synonymProviderConfigFs.close(); } catch (FileSystemException e) { log.warn("Exception while closing FileSystem", e); } } if (spellChecker != null) { spellChecker.close(); } index.close(); getContext().destroy(); super.close(); closed = true; log.info("Index closed: " + path); }
/** * Closes this <code>QueryHandler</code> and frees resources attached * to this handler. */ public void close() throws IOException { if (synonymProviderConfigFs != null) { try { synonymProviderConfigFs.close(); } catch (FileSystemException e) { log.warn("Exception while closing FileSystem", e); } } if (spellChecker != null) { spellChecker.close(); } index.close(); getContext().destroy(); super.close(); closed = true; log.info("Index closed: " + path); }