RuntimeEnvironment.java revision 58
30N/A * See LICENSE.txt included in this distribution for the specific
30N/A * file and include the License file at LICENSE.txt.
30N/Apublic class RuntimeEnvironment {
58N/A private boolean threadLocalConfig;
30N/A private RuntimeEnvironment() {
58N/A threadLocalConfig = false;
58N/A if (threadLocalConfig) {
58N/A public boolean hasProjects() {
58N/A public int getHistoryReaderTimeLimit() {
58N/A public boolean useHistoryCache() {
58N/A public void stopConfigurationListenerThread() {
58N/A threadLocalConfig = true;
58N/A System.out.println((new Date()).toString() + " OpenGrok: Got request from " + s.getInetAddress().getHostAddress());
58N/A } catch (IOException e) {
58N/A e.printStackTrace();