public void close() { _isClosed = true; _sessionManager.close(); _pageManager.close(); if (_envTimeoutThread != null) _envTimeoutThread.shutdown(); if (_quercusTimer != null) { _quercusTimer.shutdown(); } }
/** * Parses a quercus program. * * @param path the source file path * @return the parsed program * @throws IOException */ public QuercusPage parse(Path path, String fileName, int line) throws IOException { return _pageManager.parse(path, fileName, line); }
/** * Parses a quercus program. * * @param path the source file path * @return the parsed program * @throws IOException */ public QuercusPage parse(Path path) throws IOException { return _pageManager.parse(path); }
/** Returns true if a precompiled page exists */ public boolean includeExists(Path path) { return _pageManager.precompileExists(path); }
/* * Sets the capacity of the page cache. */ public void setPageCacheSize(int size) { _pageManager.setPageCacheSize(size); }
/* * Gets the max size of the page cache. */ public int getPageCacheSize() { return _pageManager.getPageCacheSize(); }
/* * true if interpreted pages should be used if pages fail to compile. */ public void setCompileFailover(boolean isCompileFailover) { _pageManager.setCompileFailover(isCompileFailover); }
/** Set true if pages should be compiled. */ public void setLazyCompile(boolean isCompile) { _pageManager.setLazyCompile(isCompile); }
/** true if the pages should be compiled. */ public boolean isCompile() { return _pageManager.isCompile(); }