blob: 79b5a417ea8bf22b32f0f2cc91be0c051819d246 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2016 Zend Technologies and others.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v. 2.0 which is available at
* http://www.eclipse.org/legal/epl-2.0.
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* Zend Technologies - initial API and implementation
*******************************************************************************/
package org.eclipse.dltk.core.search.indexing;
/**
* Implementors of this interface are notified about the index manager thread
* state changes.
*
* @author Bartlomiej Laczkowski
*/
public interface IIndexThreadListener {
/**
* Index manager thread is about to be put in an idle state.
*/
public void aboutToBeIdle();
/**
* Index manager thread was awaken and is about to be run.
*
* @param idlingTime
* The time of being in idle state before being awaken
*/
public void aboutToBeRun(long idlingTime);
}