340N/A * The contents of this file are subject to the terms of the 340N/A * Common Development and Distribution License (the "License"). 340N/A * You may not use this file except in compliance with the License. 340N/A * language governing permissions and limitations under the License. 340N/A * When distributing Covered Code, include this CDDL HEADER in each 340N/A * If applicable, add the following below this CDDL HEADER, with the 340N/A * fields enclosed by brackets "[]" replaced with your own identifying 340N/A * information: Portions Copyright [yyyy] [name of copyright owner] 1054N/A * Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved. 340N/A * The only constructor is private, so other classes will only get an 340N/A * instance through the static factory method getInstance(). 340N/A * Static factory method to get an instance of AgentIndexRunner. 1463N/A * @param enabledParam If {@code true}, the initial instance should be 340N/A //Indexer ind = new Indexer(); 1470N/A "Missing Configuration file",
"");
340N/A * Handle timer notifications to the purgatory. 340N/A * Will start the purger if it is enabled and return immediately. 1190N/A * The index method starts a thread that will 340N/A * start indexing part of the opengrok agent. 340N/A * @param waitForFinished if false the command returns immediately, if true 340N/A * it will return when the indexing is done. 340N/A * Synchronize here to make sure that you never get more than one 340N/A * indexing thread trying to start at the same time. 1185N/A log.
fine(
"Previous indexer is no longer alive, starting a new one.");
340N/A * Method that the subclass can override, but doesn't have to 1463N/A * @return MBeanNotificationInfo array of notification (and types) this